diff options
author | Jonathan Rutheiser <jonathan.rutheiser@gmail.com> | 2016-05-11 05:53:26 +0300 |
---|---|---|
committer | Jonathan Rutheiser <jonathan.rutheiser@gmail.com> | 2016-05-11 05:53:26 +0300 |
commit | 63569d06fb86c5a5c5c4ead32766bc7d20e47c86 (patch) | |
tree | 572e89e39131963aa71dfce62c0f4b3cf41cb083 | |
parent | 63e95d3eb74e52b3a20af7fb469e681e3f5d8796 (diff) |
Add meta description and keywords to head partial
-rw-r--r-- | layouts/partials/head.html | 8 |
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 }} |