aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/_top.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-03 14:10:44 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-03 14:10:44 +0200
commit4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c (patch)
tree3c2f2885be96c7163444a7d366767a4ac2ca87f7 /themes/default/_top.twig
parent66e074b43dd4efc9f63c8fee784b99bcce51ab93 (diff)
downloadwallabag-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.twig7
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