further updates to menu nav
This commit is contained in:
parent
c5b3489f11
commit
5714d22f91
@ -2,8 +2,10 @@ main:
|
|||||||
- conference:
|
- conference:
|
||||||
en:
|
en:
|
||||||
name: 2020
|
name: 2020
|
||||||
|
url: "/rf2020/"
|
||||||
fr:
|
fr:
|
||||||
name: 2020
|
name: 2020
|
||||||
|
url: "fr/rf2020/"
|
||||||
items:
|
items:
|
||||||
- program:
|
- program:
|
||||||
en:
|
en:
|
||||||
@ -19,20 +21,13 @@ main:
|
|||||||
fr:
|
fr:
|
||||||
name: intervenant·e·x
|
name: intervenant·e·x
|
||||||
url: /rf2020/participants
|
url: /rf2020/participants
|
||||||
- participants:
|
- credits:
|
||||||
en:
|
en:
|
||||||
name: gallery
|
name: credits
|
||||||
url: "/rf2020/gallery"
|
url: "/rf2020/credits"
|
||||||
fr:
|
fr:
|
||||||
name: gallery
|
name: intervenant·e·x
|
||||||
url: /rf2020/gallery
|
url: /rf2020/credits
|
||||||
- participants:
|
|
||||||
en:
|
|
||||||
name: watch
|
|
||||||
url: "/rf2020/watch"
|
|
||||||
fr:
|
|
||||||
name: watch
|
|
||||||
url: /rf2020/watch
|
|
||||||
- about:
|
- about:
|
||||||
en:
|
en:
|
||||||
name: about
|
name: about
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
{% for item in menu %}
|
{% for item in menu %}
|
||||||
{% if item.items %}
|
{% if item.items %}
|
||||||
<div class="nav-group nofocus" tabindex="0">
|
<div class="nav-group nofocus" tabindex="0">
|
||||||
<a class="nav-link colour-{{ item.colour | default: 'black' }} {{ item.case }}">{{ item[page.lang].name }}</a>
|
<a href="{{ site.baseurl | append: item[page.lang].url }}" class="nav-link colour-{{ item.colour | default: 'black' }} {{ item.case }}">{{ item[page.lang].name }}</a>
|
||||||
{% for sublink in item.items %}
|
{% for sublink in item.items %}
|
||||||
{% if page.lang == 'en' %}
|
{% if page.lang == 'en' %}
|
||||||
<a class="sub-nav-link colour-{{ sublink.colour | default: 'black' }} {{ sublink.case }}" href="{{ site.baseurl | append: sublink[page.lang].url }}">{{ sublink[page.lang].name }}</a>
|
<a class="sub-nav-link colour-{{ sublink.colour | default: 'black' }} {{ sublink.case }}" href="{{ site.baseurl | append: sublink[page.lang].url }}">{{ sublink[page.lang].name }}</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user