From 26e9bee86a490462be98b6dceb8b00848fbbb71a 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 b08af4a7..7d17317f 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 %}