aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/_top.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-09 05:01:58 -0700
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-09 05:01:58 -0700
commit2230a38cd678259947ccaffecee579604822d1cf (patch)
tree7ee8787fce39dcec7f3699068c9ac51bbdcb1c30 /tpl/_top.twig
parentef6051b95e2e289bb32107b75594406db2801653 (diff)
parent2edde7fe337a8502ee5d37ae0b76f76295864b7c (diff)
downloadwallabag-2230a38cd678259947ccaffecee579604822d1cf.tar.gz
wallabag-2230a38cd678259947ccaffecee579604822d1cf.tar.zst
wallabag-2230a38cd678259947ccaffecee579604822d1cf.zip
Merge pull request #205 from NumEricR/less-is-more
Less is more :-)
Diffstat (limited to 'tpl/_top.twig')
-rw-r--r--tpl/_top.twig6
1 files changed, 5 insertions, 1 deletions
diff --git a/tpl/_top.twig b/tpl/_top.twig
index ae01cc3f..dc20081e 100644
--- a/tpl/_top.twig
+++ b/tpl/_top.twig
@@ -1,3 +1,7 @@
1 <header class="w600p center mbm"> 1 <header class="w600p center mbm">
2 <h1><a href="./" title="{% trans "back to home" %}" ><img src="./tpl/img/logo.png" alt="logo poche" /></a></h1> 2 <h1>
3 {% if view == 'home' %}{% block logo %}<img src="./tpl/img/logo.png" alt="logo poche" />{% endblock %}
4 {% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a>
5 {% endif %}
6 </h1>
3 </header> \ No newline at end of file 7 </header> \ No newline at end of file