Skip to content

Commit ee31a27

Browse files
author
Rebecca Murphey
committed
cleanup
1 parent 1c0ab03 commit ee31a27

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Rules

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,15 @@
1010
# item, use the pattern “/about/*/”; “/about/*” will also select the parent,
1111
# because “*” matches zero or more characters.
1212

13-
# compile '/assets/*/' do
14-
# nil
15-
# end
13+
route '/assets/*/' do
14+
item.identifier.chop + '.' + item[:extension]
15+
end
1616

17+
# compile is what to do with the source files
1718
compile '/assets/*/' do
1819
nil
1920
end
2021

21-
route '/assets/*/' do
22-
item.identifier.chop + '.' + item[:extension]
23-
end
24-
2522
compile '*' do
2623
filter :kramdown
2724
layout 'default'

0 commit comments

Comments
 (0)