aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/courgette/_top.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-03-30 20:04:55 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-03-30 20:04:55 +0200
commitd6d8a045e6a16525807453f0d1229f5bdc307dd0 (patch)
treecf86097fe06850437dda5ad8d6a8fe3c33e48b7b /themes/courgette/_top.twig
parent1d0995bb8e09503ad01a877bfef74ef6c29b0dab (diff)
parent3345c9dc3935e00fb07760b68a94081d211d4c36 (diff)
downloadwallabag-d6d8a045e6a16525807453f0d1229f5bdc307dd0.tar.gz
wallabag-d6d8a045e6a16525807453f0d1229f5bdc307dd0.tar.zst
wallabag-d6d8a045e6a16525807453f0d1229f5bdc307dd0.zip
Merge pull request #588 from mariroz/dev
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>