Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Mitrichius/hugo-theme-anubis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Iakunin <yakuninm+github@gmail.com>2021-10-22 12:51:33 +0300
committerMaksim Iakunin <yakuninm+github@gmail.com>2021-10-22 12:51:33 +0300
commit302a1e18a842ea6e4a794e594c370ed040b43b58 (patch)
treeb3cc4eb782dcebdadf0a52ea3db460b554ae6a00
parentd33134ecdd0672732b839a1e2a8c1a584e4fd9bf (diff)
Fixing a bug with empty <title>
-rw-r--r--layouts/partials/head.html2
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" -}}