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

github.com/saey55/hugo-elate-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Dellafiore <ildella@gmail.com>2017-03-09 12:38:01 +0300
committerDaniele Dellafiore <ildella@gmail.com>2017-03-09 12:38:01 +0300
commitc48632088016b85fad1f554f243622f18c423e30 (patch)
tree5248c681d95813cb88b46bb88c0728d702848db4
parent390d9b8899fe2c503e920d7f42f5a3d65f61b653 (diff)
author, description was not loading content from config.toml but had some hardcoded values. Also added content-language with the same method
-rwxr-xr-xlayouts/partials/head.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 6e6d6c7..b692391 100755
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -2,9 +2,13 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title> {{ .Title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="description" content="Free HTML5 Template by FREEHTML5.CO - Hugo port by Pieter Saey" />
+<!-- <meta name="description" content="Free HTML5 Template by FREEHTML5.CO - Hugo port by Pieter Saey" />
<meta name="keywords" content="free html5, free template, free bootstrap, html5, css3, mobile first, responsive, hugo, static site" />
<meta name="author" content="FREEHTML5.CO / Hugo port " />
+ -->
+ {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
+ {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
+ {{ with .Site.LanguageCode }}<meta http-equiv="content-language" content="{{ . }}" />{{ end }}
<!--
//////////////////////////////////////////////////////