From 8e935c24b1446528a1a3fa4f9995346bf19921dd Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 8 May 2020 10:42:47 +0000 Subject: header: skip project name and/or navbar --- _includes/common/header.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to '_includes/common') diff --git a/_includes/common/header.html b/_includes/common/header.html index ce6e493..d95c0a0 100644 --- a/_includes/common/header.html +++ b/_includes/common/header.html @@ -5,7 +5,11 @@ - {{ page.title }} - {{ site.project.name }} - {{ site.personal_info.name }} + {% if site.project.name %} + {{ page.title }} - {{ site.project.name }} - {{ site.personal_info.name }} + {% else %} + {{ page.title }} - {{ site.personal_info.name }} + {% endif %} {% include common/bootstrap_css.html %} @@ -23,8 +27,11 @@