From 6ecf1b7e56619d6a290dbaa85067982554d8b6d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Michonneau?= Date: Mon, 13 May 2019 15:32:51 +0200 Subject: [PATCH] use ndash as separator display it only if both `page.title` and `site.title` are defined. --- _layouts/base.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_layouts/base.html b/_layouts/base.html index 1556722..07a4972 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -27,8 +27,7 @@ - {% if page.title %}{{ page.title }}: {% endif %} - {% if site.title %}{{ site.title }}{% endif %} + {% if page.title %}{{ page.title }}{% endif %}{% if page.title and site.title %} – {% endif %}{% if site.title %}{{ site.title }}{% endif %} -- 2.30.2