Skip to content
Snippets Groups Projects
Commit eec369bd authored by Eloi Perdereau's avatar Eloi Perdereau
Browse files

change how navs are fetched

    there's just main: and nav: in _data/navigations.yml
    each branch has its own navigations
parent bdd8fc50
No related branches found
No related tags found
No related merge requests found
{% assign navigation = site.data.navigation.navs | where: "name", include.nav | map: "nav" | first %}
{% assign navigation = site.data.navigation.nav %}
<nav class="nav__list">
{% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment