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

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesshKumarRP <ganessh@nomadly.in>2015-12-20 12:27:25 +0300
committerdigitalcraftsman <digitalcraftsman@users.noreply.github.com>2015-12-24 23:50:15 +0300
commita80d9af9a3b0d1b55ca86fc5c69cccb371ff0f55 (patch)
treef827af8502e05047c55935c1f68d0cf8ae787ff1 /layouts
parentcf962909a6847e849916a97f3260a27e879830e4 (diff)
Adding page description
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 00a57be..b35f51e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -6,7 +6,11 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
- {{ with .Site.Params.site_description }}<meta name="description" content="{{ . }}">{{ end }}
+ {{ with .Description }}
+ <meta name="description" content="{{ . }}">
+ {{ else }}
+ <meta name="description" content="{{ .Site.Params.site_description }}">
+ {{ end }}
{{ if .RSSlink }}
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSlink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />