aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/head.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 22efeb8..9f6faf9 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,9 +1,15 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
+ {{- if $.Site.Params.description }}
<meta name="description" content="{{ $.Site.Params.description }}">
+ {{- end }}
+ {{- if $.Site.Params.keywords }}
<meta name="keywords" content="{{ $.Site.Params.keywords }}">
+ {{- end }}
<meta name="theme-color" content="#000">
<link rel="stylesheet" type="text/css" href="{{ (resources.Get "css/style.css").RelPermalink }}">
+ {{- if $.Site.Params.title }}
<title>{{ .Title }}</title>
+ {{- end }}
</head> \ No newline at end of file