From 76f87feed6106826d966d77e32596b8d0ec5f965 Mon Sep 17 00:00:00 2001 From: "V.H. Belvadi" Date: Fri, 3 May 2019 15:22:10 +0530 Subject: [PATCH] Google Fonts deactivation improvements. Changed the with block to an if block to enable turning off of Google Fonts from config. --- layouts/partials/docs/html-head.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 01f9cba..8556d9f 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -3,9 +3,8 @@ {{- template "title" . }} | {{ .Site.Title -}} -{{ with .Site.Params.googleFonts | default "true" }} +{{ if default true .Site.Params.googleFonts }} -{{ else }} {{ end }}