diff options
author | Daniele Dellafiore <ildella@gmail.com> | 2017-03-09 12:38:01 +0300 |
---|---|---|
committer | Daniele Dellafiore <ildella@gmail.com> | 2017-03-09 12:38:01 +0300 |
commit | c48632088016b85fad1f554f243622f18c423e30 (patch) | |
tree | 5248c681d95813cb88b46bb88c0728d702848db4 | |
parent | 390d9b8899fe2c503e920d7f42f5a3d65f61b653 (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-x | layouts/partials/head.html | 6 |
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 }}
<!--
//////////////////////////////////////////////////////
|