aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/_top.twig
diff options
context:
space:
mode:
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