diff options
author | somrat <monnaf37@gmail.com> | 2019-11-24 13:48:18 +0300 |
---|---|---|
committer | somrat <monnaf37@gmail.com> | 2019-11-24 13:48:18 +0300 |
commit | 1a031acf628f5e629faa53e6656088f6ce4fde34 (patch) | |
tree | 9a5827da16999cbb54898db4dfa067282c474aba /layouts | |
parent | e3f83438dfd7c4a081bdafa245f6837bc718c0dc (diff) |
added meta data
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 426406e..5f030b6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,8 +1,8 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<meta name="description" content="Navigator Hugo Template"> -<meta name="author" content="Themefisher.com"> +<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}"> +{{ with .Site.Params.author }} <meta name="author" content="{{ . }}">{{ end }} {{ hugo.Generator }} <title>{{ .Site.Title }}</title> |