#177, #176 Simplify description in html head

soper-book
Alex Shpak 2020-03-13 18:15:26 +01:00
parent 13ef4c1efc
commit 0d1ba29999
1 changed files with 1 additions and 1 deletions

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" . -}}