Merge pull request #109 from iakunin/2021-10-22_bug-with-title

Fixing a bug with empty <title>
This commit is contained in:
Dmitry Kolosov 2021-10-22 13:10:54 +03:00 committed by GitHub
commit ff9c340717
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="referrer" content="no-referrer-when-downgrade">
{{ partial "title.html" }}
{{ partial "title.html" . }}
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}">
{{ with .OutputFormats.Get "rss" -}}