From 703f7d6bdbc793f8beace1e709e75145f485d18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Michonneau?= Date: Fri, 11 Oct 2019 16:19:24 +0200 Subject: [PATCH] [fix carpentries/workshop-template#513] remove site.title outside lessons --- _includes/main_title.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_includes/main_title.html b/_includes/main_title.html index b08af4a..7d17317 100644 --- a/_includes/main_title.html +++ b/_includes/main_title.html @@ -4,4 +4,11 @@ {% include base_path.html %} +{% if site.kind == "lesson" %}

{{ site.title }}{% if page.title %}: {{ page.title }}{% endif %}

+ +{% else %} + +

{{ page.title }}

+ +{% endif %}