diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-01-08 11:28:46 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-01-08 11:28:46 +0100 |
commit | 5ed8050791ef562ff4351ede3a077ab1e8b0d916 (patch) | |
tree | 8e0a6bb5cc584b0710fb01048dc08bc26189d71e /themes/courgette/_top.twig | |
parent | 8905191413f20e7fba1d635a06cf5ec2ff86cbb3 (diff) | |
download | wallabag-5ed8050791ef562ff4351ede3a077ab1e8b0d916.tar.gz wallabag-5ed8050791ef562ff4351ede3a077ab1e8b0d916.tar.zst wallabag-5ed8050791ef562ff4351ede3a077ab1e8b0d916.zip |
[add] courgette theme
Diffstat (limited to 'themes/courgette/_top.twig')
-rwxr-xr-x | themes/courgette/_top.twig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/courgette/_top.twig b/themes/courgette/_top.twig new file mode 100755 index 00000000..a2a4b28d --- /dev/null +++ b/themes/courgette/_top.twig | |||
@@ -0,0 +1,9 @@ | |||
1 | <header> | ||
2 | <h1> | ||
3 | {% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/img/logo.png" alt="logo poche" />{% endblock %} | ||
4 | {% elseif view == 'fav' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Favoris</span></a> | ||
5 | {% elseif view == 'archive' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Archive</span></a> | ||
6 | {% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a> | ||
7 | {% endif %} | ||
8 | </h1> | ||
9 | </header> \ No newline at end of file | ||