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

github.com/capnfabs/paperesque.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Tamp <fabian.tamp@gmail.com>2020-04-13 18:41:54 +0300
committerFabian Tamp <fabian.tamp@gmail.com>2020-04-13 18:42:11 +0300
commit69247bf4d689c6df4f2c8d08e12812a57587e9c0 (patch)
tree6a7fcc047112ef4aa29468a2456061ad4e53d533
parent2c3afd773e6438b16f2c794fbf4129b77eb36220 (diff)
Add site title to pages
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 831ade9..fb3f309 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -9,7 +9,7 @@
{{ partial "meta.html" . }}
- <title>{{ .Title }}</title>
+ <title>{{ .Title }}{{ if ne $.Site.Title .Title }} || {{ $.Site.Title }}{{ end }}</title>
<link rel="canonical" href="{{ .Permalink }}" />
{{ with .Site.Params.RSSCanonicalLink }}