From bf4cc556815c85569ce31ce71f6158c14f8b3ecd Mon Sep 17 00:00:00 2001 From: bkrl <97085527+bkrl@users.noreply.github.com> Date: Thu, 16 Jun 2022 21:15:22 -0700 Subject: Make Google Fonts optional Allow the user to disable Google Fonts by not setting .Site.Params.fonts.google_fonts. --- layouts/partials/google-fonts.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/google-fonts.html b/layouts/partials/google-fonts.html index 410a0f6..daec7c3 100644 --- a/layouts/partials/google-fonts.html +++ b/layouts/partials/google-fonts.html @@ -1,5 +1,5 @@ -{{ with .Site.Params.fonts }} +{{ with .Site.Params.fonts.google_fonts }} - -{{ end }} \ No newline at end of file + +{{ end }} -- cgit v1.2.3