#177, #176 Simplify description in html head

This commit is contained in:
Alex Shpak 2020-03-13 18:15:26 +01:00
parent 13ef4c1efc
commit 0d1ba29999

View file

@ -1,6 +1,6 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ with .Description }} {{ . }} {{ else }} {{ with .Summary }} {{ . }} {{ else }} {{ with .Site.Params.description }} {{ . }} {{ else }} {{ partial "docs/title" . }} {{ end }} {{ end }} {{ end }}">
<meta name="description" content="{{ default .Summary .Description }}">
{{- template "_internal/opengraph.html" . -}}