wallabag/themes/courgette/_top.twig

9 lines
620 B
Twig
Raw Normal View History

2014-01-08 10:28:46 +00:00
<header>
<h1>
2014-03-28 19:19:08 +00:00
{% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}themes/{{theme}}/img/logo.svg" alt="wallabag logo" />{% endblock %}
2014-01-08 10:28:46 +00:00
{% elseif view == 'fav' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Favoris</span></a>
{% elseif view == 'archive' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Archive</span></a>
{% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a>
{% endif %}
</h1>
</header>