Revert "Carbasa header: add language switcher"
This reverts commit 886188ed85.
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
{% load i18n oxyan category_tags ocyan_main ocyanjson %}
|
||||
|
||||
{# Project override: add the language chooser to the Carbasa (non-webshop) header. #}
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-lg navbar-light header-inner">
|
||||
<div class="container">
|
||||
{% include 'partials/brand.html' with big=True %}
|
||||
|
||||
{% block nav %}
|
||||
{% ocyanjson "theme" "menu_depth" 1 as menu_depth %}
|
||||
<div class="collapse navbar-collapse menu-bar page-menu-bar" id="navbarSupportedContent">
|
||||
<div class="brand-wrapper">
|
||||
{% include 'partials/brand.html' with big=True %}
|
||||
</div>
|
||||
<ul class="navbar-nav">
|
||||
{% rootpage_as_category as page_tree_root %}
|
||||
{% category_tree 2 page_tree_root as page_tree_items %}
|
||||
{% include "partials/dropdown.html" with menu_items=page_tree_items limit=2 %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block append_header_block %}
|
||||
{% include "oxyan/partials/language_chooser.html" %}
|
||||
{% endblock %}
|
||||
|
||||
<a aria-label="Search">zoeken</a>
|
||||
<button class="navbar-toggler collapsed" aria-label="Navbar toggle" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent">
|
||||
<i class="fa fa-bars nav-icon"></i>
|
||||
<i class="fa fa-times nav-icon"></i>
|
||||
</button>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
{% extends "carbasa/headers/header.html" %}
|
||||
|
||||
Reference in New Issue
Block a user