diff options
author | Maksim Iakunin <yakuninm+github@gmail.com> | 2021-10-22 12:51:33 +0300 |
---|---|---|
committer | Maksim Iakunin <yakuninm+github@gmail.com> | 2021-10-22 12:51:33 +0300 |
commit | 302a1e18a842ea6e4a794e594c370ed040b43b58 (patch) | |
tree | b3cc4eb782dcebdadf0a52ea3db460b554ae6a00 | |
parent | d33134ecdd0672732b839a1e2a8c1a584e4fd9bf (diff) |
Fixing a bug with empty <title>
-rw-r--r-- | layouts/partials/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index abfb06c..a8253b9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -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" -}} |