Restore Carbasa as active header source and remove webshop mega menu
This commit is contained in:
16
mandelstudio/templates/carbasa/headers/mega.html
Normal file
16
mandelstudio/templates/carbasa/headers/mega.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends "carbasa/headers/header.html" %}
|
||||
{% load i18n oxyan category_tags ocyan_main ocyanjson wagtailsettings_tags %}
|
||||
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user