Use only one about menu in tpo

This commit is contained in:
hiro 2019-11-11 17:04:58 +01:00
parent 924e3dbdec
commit c51ef99eba

View File

@ -2,7 +2,7 @@
<div class="row flex-xl-nowrap {{ bag('alternatives', this.alt, 'order') }}">
<div class="row col-12 justify-content-center">
<ul class="nav">
{% set menubag = this.section_id + '+' + this.alt %}
{% set menubag = this.section_id %}
{% for id, item in bag(menubag).items() %}
<li{% if this.path == '/' + item.path %} class="nav-item active border-active" {% else %} class="nav-item" {% endif %}>
{% set item_path = site.get(item.path) %}