From d32b60e75047e6a9db60e173318b38f9dafae6ee Mon Sep 17 00:00:00 2001 From: Niko Strijbol Date: Tue, 13 Aug 2019 23:24:06 +0200 Subject: [PATCH] Add option to enable typography on individual pages --- Rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Rules b/Rules index 22f34cc..71a24fb 100644 --- a/Rules +++ b/Rules @@ -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.*'