diff options
-rw-r--r-- | content/formations/_index.md | 1 | ||||
-rw-r--r-- | content/infrastructures/_index.md | 2 | ||||
-rw-r--r-- | content/operations/_index.md | 1 | ||||
-rw-r--r-- | content/prise_en_main/_index.md | 1 | ||||
-rw-r--r-- | content/vie_associative/_index.md | 2 | ||||
-rw-r--r-- | content/vision/_index.md | 2 | ||||
-rw-r--r-- | templates/_macros.html | 4 |
7 files changed, 9 insertions, 4 deletions
diff --git a/content/formations/_index.md b/content/formations/_index.md index c498c7c..4a965f2 100644 --- a/content/formations/_index.md +++ b/content/formations/_index.md @@ -5,6 +5,7 @@ weight: 30 sort_by: "weight" extra: parent: 'formations/_index.md' + hide_from_menu: true --- Ce manuel vous propose de vous former sur les questions portées par l'association, que ce soit sur l'impact social du numérique ou l'administration d'une machine Linux, avec dans l'idée que vous pourrez vous impliquer d'avantage dans nos activités après, en faisant des ateliers ou en participant à opérer les machines et les logiciels. diff --git a/content/infrastructures/_index.md b/content/infrastructures/_index.md index 43b50d2..6df4ee7 100644 --- a/content/infrastructures/_index.md +++ b/content/infrastructures/_index.md @@ -1,7 +1,7 @@ --- title: "Infrastructures" description: "Infrastructures" -weight: 90 +weight: 40 extra: parent: 'infrastructures/_index.md' --- diff --git a/content/operations/_index.md b/content/operations/_index.md index 9216c0f..61bf165 100644 --- a/content/operations/_index.md +++ b/content/operations/_index.md @@ -5,6 +5,7 @@ weight: 100 sort_by: "weight" extra: parent: 'operations/_index.md' + hide_from_menu: true --- Ce manuel recense notre savoir-faire technique, il a pour but d'accompagner nos opérateur·ices dans la réalisation de leurs tâches. diff --git a/content/prise_en_main/_index.md b/content/prise_en_main/_index.md index 8e47d2a..9eb9455 100644 --- a/content/prise_en_main/_index.md +++ b/content/prise_en_main/_index.md @@ -5,6 +5,7 @@ weight: 20 sort_by: "weight" extra: parent: 'prise_en_main/_index.md' + hide_from_menu: true --- Ce manuel vous accompagne dans la découverte de nos outils. diff --git a/content/vie_associative/_index.md b/content/vie_associative/_index.md index 718aabf..a1d5ad7 100644 --- a/content/vie_associative/_index.md +++ b/content/vie_associative/_index.md @@ -1,7 +1,7 @@ --- title: "Vie associative" description: "Vie associative" -weight: 50 +weight: 30 sort_by: "weight" extra: parent: 'vie_associative/_index.md' diff --git a/content/vision/_index.md b/content/vision/_index.md index 7e597de..b9fb4d1 100644 --- a/content/vision/_index.md +++ b/content/vision/_index.md @@ -1,7 +1,7 @@ --- title: "Vision" description: "Vision" -weight: 11 +weight: 20 sort_by: "weight" extra: parent: 'vision/_index.md' diff --git a/templates/_macros.html b/templates/_macros.html index 4f8d852..8286314 100644 --- a/templates/_macros.html +++ b/templates/_macros.html @@ -13,7 +13,9 @@ <ul> {% for subpath in section.subsections %} {% set sub = get_section(path=subpath) %} - <li><a class="nav-item text" href="{{ sub.permalink }}">{{ sub.title }}</a></li> + {% if not 'hide_from_menu' in sub.extra or not sub.extra.hide_from_menu %} + <li><a class="nav-item text" href="{{ sub.permalink }}">{{ sub.title }}</a></li> + {% endif %} {% endfor %} {% if config.extra.juice_extra_menu %} {% for menu in config.extra.juice_extra_menu %} |