diff options
author | V.H. Belvadi <hello@vhbelvadi.com> | 2019-05-03 15:22:10 +0530 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-15 09:53:49 +0200 |
commit | 76f87feed6106826d966d77e32596b8d0ec5f965 (patch) | |
tree | a8ab6693f7e19f75c68b2098295a8aa4e031368b /layouts/partials/docs | |
parent | bfe110c797f889a8ffd609173558186600001de3 (diff) |
Google Fonts deactivation improvements.
Changed the with block to an if block to enable turning off of Google Fonts from config.
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r-- | layouts/partials/docs/html-head.html | 3 |
1 files changed, 1 insertions, 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 @@ <title>{{- template "title" . }} | {{ .Site.Title -}}</title> <!-- Fonts for the theme --> -{{ with .Site.Params.googleFonts | default "true" }} +{{ if default true .Site.Params.googleFonts }} <link href="https://fonts.googleapis.com/css?family=Oxygen|Oxygen+Mono:300,400,700" rel="stylesheet"> -{{ else }} {{ end }} <!-- Theme stylesheet, you can customize scss by creatig `assets/custom.scss` in your website --> |