From 2c8c47c210361116037bb2ac9264dca26e0fd28a Mon Sep 17 00:00:00 2001 From: "V.H. Belvadi" Date: Mon, 13 May 2019 11:22:11 +0530 Subject: Updated googleFonts parameter behaviour Congif googlefonts parameter now loads (by default or discards by setting) locally loaded Oxygen from _fonts.scss based on the user's preference. --- layouts/partials/docs/html-head.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 8556d9f..35d0e81 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -4,7 +4,8 @@ {{ if default true .Site.Params.googleFonts }} - + {{ $fonts := resources.Get "_fonts.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} + {{ end }} -- cgit v1.2.3