diff options
author | Jeff <jeffxf@users.noreply.github.com> | 2018-08-04 08:40:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-04 08:40:58 +0300 |
commit | defe2ade1217f5ba4891e6efe4881cb53aa936a6 (patch) | |
tree | 93affb277d55759aa3ef229cbba40191c5423b77 | |
parent | 520792b2a5ec9951353a834ee885535f3d558e73 (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.html | 2 |
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> |