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

github.com/nurlansu/hugo-sustain.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff <jeffxf@users.noreply.github.com>2018-08-04 08:40:58 +0300
committerGitHub <noreply@github.com>2018-08-04 08:40:58 +0300
commitdefe2ade1217f5ba4891e6efe4881cb53aa936a6 (patch)
tree93affb277d55759aa3ef229cbba40191c5423b77
parent520792b2a5ec9951353a834ee885535f3d558e73 (diff)
Fix author param reference
The example config.toml stores the 'author' variable under [params] but the head.html partial looks for it in the root of config.toml.
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 00a14b0..6ee8277 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="author" content="{{ .Site.Author }}" />
+ <meta name="author" content="{{ .Site.Params.Author }}" />
{{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}">{{ end }}
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}img/favicon.ico">
<title>