Google Fonts deactivation improvements.
Changed the with block to an if block to enable turning off of Google Fonts from config.
This commit is contained in:
parent
bfe110c797
commit
76f87feed6
1 changed files with 1 additions and 2 deletions
|
@ -3,9 +3,8 @@
|
||||||
<title>{{- template "title" . }} | {{ .Site.Title -}}</title>
|
<title>{{- template "title" . }} | {{ .Site.Title -}}</title>
|
||||||
|
|
||||||
<!-- Fonts for the theme -->
|
<!-- 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">
|
<link href="https://fonts.googleapis.com/css?family=Oxygen|Oxygen+Mono:300,400,700" rel="stylesheet">
|
||||||
{{ else }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Theme stylesheet, you can customize scss by creatig `assets/custom.scss` in your website -->
|
<!-- Theme stylesheet, you can customize scss by creatig `assets/custom.scss` in your website -->
|
||||||
|
|
Loading…
Reference in a new issue