From ec0a6f90e4fab6198a41165bd3ab6c1b0f51b0eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20=C5=A0m=C3=ADd?= Date: Wed, 15 Feb 2017 14:08:35 +0100 Subject: [PATCH] moved the conditional to the base.html --- templates/base.html | 3 +++ templates/partial/github.html | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index 65d86d6..aa4b561 100644 --- a/templates/base.html +++ b/templates/base.html @@ -182,6 +182,9 @@ {% include "partial/jsonld.html" %} {% block additional_js %}{% endblock %} + + {% if GITHUB_URL %} {% include 'partial/github.html' %} + {% endif %} diff --git a/templates/partial/github.html b/templates/partial/github.html index ebdb1c5..d23fe53 100644 --- a/templates/partial/github.html +++ b/templates/partial/github.html @@ -1,5 +1,3 @@ -{% if GITHUB_URL %} -{% endif %}