Skip to content

Commit 8135cb7

Browse files
committed
Relativize paths in html files
1 parent 86f0618 commit 8135cb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Rules

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
compile '/' do
1717
filter :erb
1818
layout 'homepage'
19+
filter :relativize_paths, :type => :html
1920
end
2021

2122
compile '*' do
@@ -29,7 +30,7 @@ compile '*' do
2930
# Run the laid out content through erb to run embedded function calls etc
3031
filter :erb
3132
#Convert resource links to use relative paths
32-
#filter :relativize_paths,:type => :html
33+
filter :relativize_paths, :type => :html
3334
when 'css'
3435
filter :relativize_paths,:type => :css
3536
when 'js'

0 commit comments

Comments
 (0)