summaryrefslogtreecommitdiffstats
path: root/blog/_includes
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-08-05 21:31:14 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-08-05 21:31:14 +0200
commitc7d8550200def3010404e8cefcc4221695e7f83d (patch)
treee04e5b13204dc68a8aa2048e6b07afdb4a3a8f3c /blog/_includes
parentd63bb00c57a8f6c4c85a8fccd3ac6eff8b3f9b3b (diff)
downloadnorsk-urskog-main-c7d8550200def3010404e8cefcc4221695e7f83d.tar.gz
norsk-urskog-main-c7d8550200def3010404e8cefcc4221695e7f83d.tar.bz2
norsk-urskog-main-c7d8550200def3010404e8cefcc4221695e7f83d.zip
Set site title properly for each page.
Diffstat (limited to 'blog/_includes')
-rw-r--r--blog/_includes/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/_includes/head.html b/blog/_includes/head.html
index 0c79c74..4a7c430 100644
--- a/blog/_includes/head.html
+++ b/blog/_includes/head.html
@@ -2,7 +2,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
+ <title>{{ site.title }}{% if page.title %} - {% t page.title %}{% endif %}</title>
<meta name="description" content="{{ site.description }}">
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl_root }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl_root | prepend: site.url }}">