diff options
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r-- | layouts/partials/docs/html-head.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 0e6d06e..6e3067e 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -1,6 +1,7 @@ <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> -<meta name="description" content="{{ partial "docs/title" . }}"> +<meta name="description" content="{{ with .Description }} {{ . }} {{ else }} {{ with .Summary }} {{ . }} {{ else }} {{ with .Site.Params.description }} {{ . }} {{ else }} {{ partial "docs/title" . }} {{ end }} {{ end }} {{ end }}"> + {{- template "_internal/opengraph.html" . -}} <title>{{ partial "docs/title" . }} | {{ .Site.Title -}}</title> |