diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 14:10:44 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 14:10:44 +0200 |
commit | 4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c (patch) | |
tree | 3c2f2885be96c7163444a7d366767a4ac2ca87f7 /themes/default/_top.twig | |
parent | 66e074b43dd4efc9f63c8fee784b99bcce51ab93 (diff) | |
download | wallabag-4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c.tar.gz wallabag-4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c.tar.zst wallabag-4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c.zip |
embed themes
Diffstat (limited to 'themes/default/_top.twig')
-rw-r--r-- | themes/default/_top.twig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/default/_top.twig b/themes/default/_top.twig new file mode 100644 index 00000000..4100f7c4 --- /dev/null +++ b/themes/default/_top.twig | |||
@@ -0,0 +1,7 @@ | |||
1 | <header class="w600p center mbm"> | ||
2 | <h1> | ||
3 | {% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/img/logo.png" alt="logo poche" />{% endblock %} | ||
4 | {% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a> | ||
5 | {% endif %} | ||
6 | </h1> | ||
7 | </header> \ No newline at end of file | ||