diff --git a/panikweb_templates/templates/base.html b/panikweb_templates/templates/base.html index 01f17b4a4ea528dd331e5cdc9d3a547f8ac6cfcd..66e5cbd03ebe648da72f348e9a38d901d6bcce7c 100644 --- a/panikweb_templates/templates/base.html +++ b/panikweb_templates/templates/base.html @@ -1,4 +1,4 @@ -{% load paniktags compress %} +{% load paniktags staticfiles compress %} @@ -10,6 +10,11 @@ + {% block head %} + + + + {% endblock %} @@ -33,7 +38,6 @@ {% endcompress %} - {% block head %}{% endblock %} {% block extrascripts %}{% endblock %} diff --git a/panikweb_templates/templates/emissions/emission_detail.html b/panikweb_templates/templates/emissions/emission_detail.html index 7900139837f16d2328ace3a6182a3227abcce462..0898b8d91f573943ee0a1f8bc8c4644005becb41 100644 --- a/panikweb_templates/templates/emissions/emission_detail.html +++ b/panikweb_templates/templates/emissions/emission_detail.html @@ -7,6 +7,8 @@ {% if emission.image %} +{% else %} + {% endif %} {% if emission.subtitle %} diff --git a/panikweb_templates/templates/emissions/episode_detail.html b/panikweb_templates/templates/emissions/episode_detail.html index bb047d801fddaa147f2fccc6833105a9061e7cf9..bde965b7b1cc7e4b412e5f5703b3f99adb5f163c 100644 --- a/panikweb_templates/templates/emissions/episode_detail.html +++ b/panikweb_templates/templates/emissions/episode_detail.html @@ -8,6 +8,8 @@ {% elif episode.emission.image %} +{% else %} + {% endif %} {% if episode.subtitle %} diff --git a/panikweb_templates/templates/emissions/newsitem_detail.html b/panikweb_templates/templates/emissions/newsitem_detail.html index 15c200476706702fbb1a3ca32f1e7d478f5dddce..d035914e81e9630a3a3bc5896ccf43046fcf3741 100644 --- a/panikweb_templates/templates/emissions/newsitem_detail.html +++ b/panikweb_templates/templates/emissions/newsitem_detail.html @@ -8,8 +8,11 @@ {% block head %} + {% if newsitem.image %} +{% else %} + {% endif %} {% endblock %} diff --git a/panikweb_templates/templates/home.html b/panikweb_templates/templates/home.html index edde4de407ceb0e1fa7254d42c1d2effb5647234..6af305db7d4943c89c5eb3b56054759ad5bd9358 100644 --- a/panikweb_templates/templates/home.html +++ b/panikweb_templates/templates/home.html @@ -4,8 +4,7 @@ {% block title %}{% trans 'Home' %}{% endblock %} {% block head %} - - +{{ block.super }}