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

github.com/jrutheiser/hugo-lithium-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Rutheiser <jonathan.rutheiser@gmail.com>2016-05-11 05:53:26 +0300
committerJonathan Rutheiser <jonathan.rutheiser@gmail.com>2016-05-11 05:53:26 +0300
commit63569d06fb86c5a5c5c4ead32766bc7d20e47c86 (patch)
tree572e89e39131963aa71dfce62c0f4b3cf41cb083
parent63e95d3eb74e52b3a20af7fb469e681e3f5d8796 (diff)
Add meta description and keywords to head partial
-rw-r--r--layouts/partials/head.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2283b43..d08d8c8 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -11,6 +11,14 @@
<meta property="og:title" content="{{ .Title }} - {{ .Site.Title }}">
{{ end }}
+{{ if .Description }}
+<meta property="description" content="{{ .Description }}">
+{{ end }}
+
+{{ if .Keywords }}
+<meta property="keywords" content ="{{ delimit .Keywords ", " }}">
+{{ end }}
+
{{ if .RSSlink }}
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}