From 4f038b802b22018524dd36a3be7c8b0d1ba94f64 Mon Sep 17 00:00:00 2001 From: David Hamp-Gonsalves Date: Mon, 6 Aug 2018 12:43:11 -0300 Subject: support disabling webfonts --- exampleSite/config.toml | 1 + layouts/partials/header.html | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index adb35d9..ece3920 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -10,6 +10,7 @@ pygmentscodefences = true [params] sitename = "Black & Light" + disableWebFonts = false [[menu.main]] name = "About" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c4a91ab..d649ec2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -9,7 +9,9 @@ {{ if .Site.Params.description }}{{ end }} - + {{ if not .Site.Params.disableWebFonts }} + + {{ end }} -- cgit v1.2.3