]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tpl/_top.twig
remove poche.js
[github/wallabag/wallabag.git] / tpl / _top.twig
old mode 100755 (executable)
new mode 100644 (file)
index ae01cc3..dc20081
@@ -1,3 +1,7 @@
         <header class="w600p center mbm">
-            <h1><a href="./" title="{% trans "back to home" %}" ><img src="./tpl/img/logo.png" alt="logo poche" /></a></h1>
+            <h1>
+                {% if view == 'home' %}{% block logo %}<img src="./tpl/img/logo.png" alt="logo poche" />{% endblock %}
+                {% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a>
+                {% endif %}
+            </h1>
         </header>
\ No newline at end of file