aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/courgette/_top.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-11-24 13:11:57 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-11-24 13:11:57 +0100
commit85c5a1ff8d919d3d36a8125c9bbd0d9220025729 (patch)
tree28a95f126132dbe6c53e1e48f5c2099d29d5649b /themes/courgette/_top.twig
parent7b8bb75228fff2a629388313a3d12cd63c846ad6 (diff)
downloadwallabag-85c5a1ff8d919d3d36a8125c9bbd0d9220025729.tar.gz
wallabag-85c5a1ff8d919d3d36a8125c9bbd0d9220025729.tar.zst
wallabag-85c5a1ff8d919d3d36a8125c9bbd0d9220025729.zip
failover if theme folder doesn't exist
Diffstat (limited to 'themes/courgette/_top.twig')
-rwxr-xr-xthemes/courgette/_top.twig9
1 files changed, 0 insertions, 9 deletions
diff --git a/themes/courgette/_top.twig b/themes/courgette/_top.twig
deleted file mode 100755
index 2d41db17..00000000
--- a/themes/courgette/_top.twig
+++ /dev/null
@@ -1,9 +0,0 @@
1 <header>
2 <h1>
3 {% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}themes/{{theme}}/img/logo.svg" alt="wallabag logo" />{% 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