File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 10
10
# item, use the pattern “/about/*/”; “/about/*” will also select the parent,
11
11
# because “*” matches zero or more characters.
12
12
13
- compile '/stylesheet/' do
14
- # don’t filter or layout
13
+ # compile '/assets/*/' do
14
+ # nil
15
+ # end
16
+
17
+ compile '/assets/*/' do
18
+ nil
19
+ end
20
+
21
+ route '/assets/*/' do
22
+ item . identifier . chop + '.' + item [ :extension ]
15
23
end
16
24
17
25
compile '*' do
18
26
filter :kramdown
19
27
layout 'default'
20
28
end
21
29
22
- route '/stylesheet/' do
23
- '/style.css'
24
- end
25
-
26
30
route '*' do
27
31
item . identifier + 'index.html'
28
32
end
File renamed without changes.
Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="utf-8 ">
5
5
< title > A Brand New nanoc Site - < %= @item[:title] %> </ title >
6
- < link rel ="stylesheet " type ="text/css " href ="style .css " media ="screen ">
6
+ < link rel ="stylesheet " type ="text/css " href ="/assets/stylesheet .css " media ="screen ">
7
7
< meta name ="generator " content ="nanoc 3.1.6 ">
8
8
</ head >
9
9
< body >
You can’t perform that action at this time.
0 commit comments