Add option to enable typography on individual pages

This commit is contained in:
Niko Strijbol 2019-08-13 23:24:06 +02:00
parent c0f206db18
commit d32b60e750
No known key found for this signature in database
GPG key ID: 1A8AEBABD9012251

6
Rules
View file

@ -146,6 +146,12 @@ end
compile '/**/*.erb' do
filter :erb
# Apply typographic improvements if required by the page. Use this on text-heavy pages,
# such has the history page.
if @item[:typography]
filter :typogruby
end
layout '/generic.*'
layout '/default.*'