diff options
author | Paul Duncan <pabs@pablotron.org> | 2021-10-19 02:37:22 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2021-10-19 02:37:22 -0400 |
commit | 004951148db0377c11d45179066ec182aae321a5 (patch) | |
tree | 251e63c4befa9f990c24bb8be8225d39aa5e6856 /themes/hugo-pt2021/layouts | |
parent | ec9988dd776e0c857fa8a8e6e7d6a03c1600d716 (diff) | |
download | pablotron.org-004951148db0377c11d45179066ec182aae321a5.tar.bz2 pablotron.org-004951148db0377c11d45179066ec182aae321a5.zip |
add <meta name="description" ...> to header
Diffstat (limited to 'themes/hugo-pt2021/layouts')
-rw-r--r-- | themes/hugo-pt2021/layouts/partials/head.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/hugo-pt2021/layouts/partials/head.html b/themes/hugo-pt2021/layouts/partials/head.html index 56468e4..09da4ff 100644 --- a/themes/hugo-pt2021/layouts/partials/head.html +++ b/themes/hugo-pt2021/layouts/partials/head.html @@ -4,6 +4,12 @@ {{/* set responsive viewport */}} <meta name='viewport' content='width=device-width, initial-scale=1'/> + {{/* add site description */}} + <meta + name='description' + content='{{- default "" .Site.Params.description -}}' + /> + <title> {{- block "title" . -}} {{- .Page.Title -}} |