Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordadosch <dadosch@users.noreply.github.com>2019-10-06 20:52:24 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2019-10-06 20:52:24 +0300
commit636e30ecbb2b336712f054320eb0891513e9d9f3 (patch)
treea3654496a628b970b51876c16b58b56aadbf2b59 /layouts
parentf5b10bf7c8911383487e68c5e4ac8191cf4a15d6 (diff)
Add local font files instead of using Google CDN
See #30
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b4d462f..6de6ea5 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -15,7 +15,7 @@
{{- $cssOptions := cond ($inServerMode) (dict "targetPath" $cssTarget "enableSourceMap" true) (dict "targetPath" $cssTarget "outputStyle" "compressed") }}
{{- $style := resources.Get "scss/tale.scss" | toCSS $cssOptions }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700">
+ <link rel="stylesheet" href="{{ "css/fonts.css" | relURL }}">
{{ range .Site.Params.css -}}
<link rel="stylesheet" href="{{ . | relURL }}">
{{ end -}}