wallabag/themes/default/_top.twig
Nicolas Lœuillet 4cc3c2ac17 embed themes
2013-10-03 14:10:44 +02:00

7 lines
389 B
Twig

<header class="w600p center mbm">
<h1>
{% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/img/logo.png" alt="logo poche" />{% endblock %}
{% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a>
{% endif %}
</h1>
</header>