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

github.com/themefisher/navigator-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomrat <monnaf37@gmail.com>2019-11-24 13:48:18 +0300
committersomrat <monnaf37@gmail.com>2019-11-24 13:48:18 +0300
commit1a031acf628f5e629faa53e6656088f6ce4fde34 (patch)
tree9a5827da16999cbb54898db4dfa067282c474aba /layouts
parente3f83438dfd7c4a081bdafa245f6837bc718c0dc (diff)
added meta data
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html4
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>