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

github.com/zerostaticthemes/hugo-serif-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Austin <rob@jugglerdigital.com>2022-06-20 05:17:21 +0300
committerGitHub <noreply@github.com>2022-06-20 05:17:21 +0300
commit1752f4394c800ae42229ed4a5bfa7c54a40c7bda (patch)
treef1b44e727174636bea6f07c3aff018bc94ee2729
parent3771f2688740b31962a3dca9d97e1f912b5f1552 (diff)
parentbf4cc556815c85569ce31ce71f6158c14f8b3ecd (diff)
Merge pull request #55 from CVMuAlphaTheta/optional-google-fonts
Make Google Fonts optional
-rw-r--r--layouts/partials/google-fonts.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/google-fonts.html b/layouts/partials/google-fonts.html
index 410a0f6..daec7c3 100644
--- a/layouts/partials/google-fonts.html
+++ b/layouts/partials/google-fonts.html
@@ -1,5 +1,5 @@
-{{ with .Site.Params.fonts }}
+{{ with .Site.Params.fonts.google_fonts }}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="{{ .google_fonts }}" rel="stylesheet">
-{{ end }} \ No newline at end of file
+ <link href="{{ . }}" rel="stylesheet">
+{{ end }}