From 6b560a843d6a246d34549a4d9bb1f6cbf84c1a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20TESNIERE?= Date: Tue, 21 Jan 2014 00:02:43 +0100 Subject: [PATCH] if variable site.logo is null then hide logo --- _includes/navigation.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/_includes/navigation.html b/_includes/navigation.html index 4958bfe..a5fc766 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -27,14 +27,18 @@ {% endif %} {% if page.image.feature %}
-
- -
+ {% if site.logo != null %} +
+ +
+ {% endif %}
{% else %}
- -

{{ site.title }}

+ {% if site.logo != null %} + + {% endif %} +

{{ site.title }}

{{ site.description }}

{% endif %}