From ea4e7d74685d369e2d730c1225e94d46e01c7262 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 27 Dec 2016 00:54:10 +0100 Subject: [PATCH] Have page titles include site title --- _includes/head.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 559291a..2b4aa4a 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -2,10 +2,18 @@ - - {% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %} + + {% if site.title %} + {{ site.title | escape }} + {% endif %} + {% if page.title %} + {% if site.title %} + – + {% endif %} + {{ page.title | escape }} + {% endif %} + -