aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/courgette/_top.twig
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-03-28 21:19:08 +0200
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-03-28 21:19:08 +0200
commit3345c9dc3935e00fb07760b68a94081d211d4c36 (patch)
tree3c873f81309ae2eb4d54498d39f27d83f50b2a8e /themes/courgette/_top.twig
parentad697686c00432964528226588a8cbea909c9e36 (diff)
downloadwallabag-3345c9dc3935e00fb07760b68a94081d211d4c36.tar.gz
wallabag-3345c9dc3935e00fb07760b68a94081d211d4c36.tar.zst
wallabag-3345c9dc3935e00fb07760b68a94081d211d4c36.zip
fix of bug with default theme constant
Diffstat (limited to 'themes/courgette/_top.twig')
-rwxr-xr-xthemes/courgette/_top.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/courgette/_top.twig b/themes/courgette/_top.twig
index 4d2dbb21..2d41db17 100755
--- a/themes/courgette/_top.twig
+++ b/themes/courgette/_top.twig
@@ -1,6 +1,6 @@
1 <header> 1 <header>
2 <h1> 2 <h1>
3 {% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}themes/{{ constant('DEFAULT_THEME') }}/img/logo.svg" alt="wallabag logo" />{% endblock %} 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> 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> 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> 6 {% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a>