diff options
author | somratpro <abdulmonnafsomrat@gmail.com> | 2021-03-23 06:46:16 +0300 |
---|---|---|
committer | somratpro <abdulmonnafsomrat@gmail.com> | 2021-03-23 06:46:16 +0300 |
commit | ba9fdd1c26c109d2b2c460d6fa8abcbe994bdfe4 (patch) | |
tree | 7dc8476d7796329058f20bb6faae778f7904296e /layouts | |
parent | ec67b2b153c3f87b0981d957cba5c33bce801439 (diff) |
added fallback font
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/script.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/script.html b/layouts/partials/script.html index 32a8dac..2f9d0d9 100644 --- a/layouts/partials/script.html +++ b/layouts/partials/script.html @@ -6,7 +6,7 @@ WebFont.load({ google: { api: 'https://fonts.googleapis.com/css2', - families: ['{{$pf}}{{if not $sf}}&display=swap{{end}}'{{with $sf}},'{{.}}&display=swap'{{end}}], + families: ['{{$pf | default `Lato:wght@400`}}{{if not $sf}}&display=swap{{end}}'{{with $sf}},'{{.}}&display=swap'{{end}}], version: 2 }, active: () => { |