From f988ad248d36c50fb5d866318d6932618304b787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Sun, 4 Apr 2021 22:59:45 +0200 Subject: [PATCH] Add topbar-container css hook Makes it possible to have the same toolbar on all pages by just adding custom css, not having to edit the template. --- view/light.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/light.twig b/view/light.twig index d47ba6a38..30e80fa38 100644 --- a/view/light.twig +++ b/view/light.twig @@ -24,11 +24,11 @@ {% trans "We're sorry but Skosmos doesn't work properly without JavaScript enabled. Please enable it to continue." %} {% trans "Skip to main" %} - {% if request.vocabid != '' or request.page == 'feedback' or request.page == 'about' %}
{% endif %} +
{% include 'topbar.twig' %}
- {% if request.vocabid != '' or request.page == 'feedback' or request.page == 'about' %}
{% endif %} +
{% block headernav %}