diff templates/sat_website/base.html @ 137:759f7cd2bc6a

fixes wrong use of Libervia static blog CSS
author souliane <souliane@mailoo.org>
date Tue, 08 Mar 2016 08:59:13 +0100
parents c56b6ad62153
children
line wrap: on
line diff
--- a/templates/sat_website/base.html	Thu Jan 14 23:39:43 2016 +0100
+++ b/templates/sat_website/base.html	Tue Mar 08 08:59:13 2016 +0100
@@ -29,9 +29,11 @@
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
+    {% if category == "news" %}
+        <link rel="stylesheet" href="https://libervia.org/themes/default/styles/blog.css">
+    {% endif %}
     <link rel="stylesheet" href="{% static "bootstrap/css/bootstrap.min.css" %}">
     <link rel="stylesheet" href="{% static "bootstrap/css/bootstrap-theme.min.css" %}">
-    <link rel="stylesheet" href="https://libervia.org/themes/default/styles/blog.css">
     <link rel="stylesheet" href="{% static "css/sat_website.css" %}">
     <link rel="icon" type="image/png" href="{% static "images/sat_logo_32.png" %}">
     <title>{% block title %}{% trans "Salut à Toi: the multi frontend, multipurpose communication tool" %}{% endblock %}</title>