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:
authorDmitry Kolosov <mitrichius@gmail.com>2020-02-15 23:24:01 +0300
committerDmitry Kolosov <mitrichius@gmail.com>2020-02-15 23:24:01 +0300
commita3261a97c9e1e9cf1036676ef15e2b081bb9d6bf (patch)
treeee51de1d4fb5d68eb132fa1546c36079559aa541 /layouts/partials/head.html
parentb3dea99773287b3387ad0f139dda1719cd2dcf7d (diff)
fix html title
Diffstat (limited to 'layouts/partials/head.html')
-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 7f18c34..c5c635e 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">
-<title>{{ .Title }} - {{ .Site.Title }}</title>
+<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<meta name="description" content="{{ .Site.Params.Description }}">
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ "/rss/" }}">