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

github.com/themefisher/bigspring-hugo-startup-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt6697 <32440697+matt6697@users.noreply.github.com>2021-09-14 19:44:33 +0300
committermatt6697 <32440697+matt6697@users.noreply.github.com>2021-09-14 19:44:33 +0300
commit1178ccc8fab6934858eb3cf6bf1c63d4fab93eb3 (patch)
treeda664149518d6b7a4d7a0e6716b933a4d9873d30
parent6e43041f43d88d9f1cfe59e1df697a14904784e6 (diff)
Added missing meta description
-rw-r--r--layouts/partials/head.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index fcf22d1..e6f0cbe 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -13,6 +13,7 @@
{{ end }}
<link rel="alternate" hreflang="x-default" href="{{ .RelPermalink | absLangURL }}">
{{ end }}
+<meta name="description" content="{{ if .Params.description }}{{ .Params.description }}{{ else if .Site.Params.Description }}{{ .Site.Params.Description }}{{ end }}" />
{{ with site.Params.author }}
<meta name="author" content="{{ . }}">{{ end }}
{{ hugo.Generator }}