Fixing a bug with empty <title>

This commit is contained in:
Maksim Iakunin 2021-10-22 12:51:33 +03:00
parent d33134ecdd
commit 302a1e18a8
No known key found for this signature in database
GPG Key ID: 629DE6EA48DAF1F4

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