end
compile '/**/index.lst' do
- layout '/listing.xhtml'
- filter :erb
+ layout '/listing.erb'
layout '/default.xml'
layout '/default.xsl'
+ layout '/embed-svg.xsl'
filter :relativize_paths, type: :xml
- filter :xhtml_compat
- filter :remove_wj
+ filter :xhtml_compat, fix_doctype: true
write item.identifier.without_ext + ".xhtml"
end
layout '/default.xsl'
filter :relativize_paths, type: :xml
filter :xhtml_compat
- filter :remove_wj
write to_xhtml
end
layout '/default.xsl'
filter :relativize_paths, type: :xml
filter :xhtml_compat
- filter :remove_wj
write to_xhtml
end
layout '/default.xsl', "section-links": "yes"
filter :relativize_paths, type: :xml
filter :xhtml_compat
- filter :remove_wj
write to_xhtml
end
layout '/default.xsl', "section-links": "yes"
filter :relativize_paths, type: :xml
filter :xhtml_compat
- filter :remove_wj
write to_xhtml
end
layout '/default.xsl'
filter :relativize_paths, type: :xml
filter :xhtml_compat
- filter :remove_wj
write to_xhtml
end
write @item.identifier.without_ext + '.css'
end
+compile '/**/*.svg' do
+ filter :scour, comment_stripping: true
+ write @item.identifier.to_s
+end
+
+compile '/icons/**/*.svg', rep: :icon32 do
+ filter :svg2png, width: 32, height: 32
+ write @item.identifier.without_ext + "-32.png"
+end
+
compile '/**/*' do
filter :copybin if @item.binary?
write @item.identifier.to_s