Skip to content

Commit

Permalink
breadcrumb défini dans les cartouches directement
Browse files Browse the repository at this point in the history
  • Loading branch information
slafayIGN committed Jun 12, 2024
1 parent d2b8456 commit f7e4651
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 87 deletions.
1 change: 1 addition & 0 deletions content/fr/fr.11tydata.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ module.exports = {
return `/${data.lang}/${this.slugify(data.slugOverride)}/`;
}
},
showBreadcrumb: true,
};
15 changes: 5 additions & 10 deletions content/fr/tutoriels/archive/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,15 @@ date: git Last Modified
tags:
- Donnée archive
- Index des tutoriels
segments:
- url: /developpeur
title: Documentation développeur
- url: /tutoriels
title: Tutoriels
---

{% from "components/component.njk" import component with context %}

{{ component("breadcrumb", {
segments: [{
url: "/developpeur/",
title: "Documentation développeur"
},{
url: "/tutoriels/",
title: "Tutoriels"
}]
}) }}

<div class="fr-grid-row--gutters fr-mb-1w">

<div class="fr-col fr-col-md-12">
Expand Down
15 changes: 5 additions & 10 deletions content/fr/tutoriels/complement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,15 @@ date: git Last Modified
tags:
- Donnée complémentaire
- Index des tutoriels
segments:
- url: /developpeur
title: Documentation développeur
- url: /tutoriels
title: Tutoriels
---

{% from "components/component.njk" import component with context %}

{{ component("breadcrumb", {
segments: [{
url: "/developpeur/",
title: "Documentation développeur"
},{
url: "/tutoriels/",
title: "Tutoriels"
}]
}) }}

<div class="fr-grid-row--gutters fr-mb-1w">

<div class="fr-col fr-col-md-12">
Expand Down
15 changes: 5 additions & 10 deletions content/fr/tutoriels/controle-des-acces/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,15 @@ date: git Last Modified
tags:
- Contrôle des accès
- Index des tutoriels
segments:
- url: /developpeur
title: Documentation développeur
- url: /tutoriels
title: Tutoriels
---

{% from "components/component.njk" import component with context %}

{{ component("breadcrumb", {
segments: [{
url: "/developpeur/",
title: "Documentation développeur"
},{
url: "/tutoriels/",
title: "Tutoriels"
}]
}) }}

<div class="fr-grid-row--gutters fr-mb-1w">

<div class="fr-col fr-col-md-12">
Expand Down
15 changes: 5 additions & 10 deletions content/fr/tutoriels/divers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,15 @@ date: git Last Modified
tags:
- Divers
- Index des tutoriels
segments:
- url: /developpeur
title: Documentation développeur
- url: /tutoriels
title: Tutoriels
---

{% from "components/component.njk" import component with context %}

{{ component("breadcrumb", {
segments: [{
url: "/developpeur/",
title: "Documentation développeur"
},{
url: "/tutoriels/",
title: "Tutoriels"
}]
}) }}

<div class="fr-grid-row--gutters fr-mb-1w">

<div class="fr-col fr-col-md-12">
Expand Down
15 changes: 5 additions & 10 deletions content/fr/tutoriels/gestion/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,15 @@ date: git Last Modified
tags:
- Gestion
- Index des tutoriels
segments:
- url: /developpeur
title: Documentation développeur
- url: /tutoriels
title: Tutoriels
---

{% from "components/component.njk" import component with context %}

{{ component("breadcrumb", {
segments: [{
url: "/developpeur/",
title: "Documentation développeur"
},{
url: "/tutoriels/",
title: "Tutoriels"
}]
}) }}

<div class="fr-grid-row--gutters fr-mb-1w">

<div class="fr-col fr-col-md-12">
Expand Down
10 changes: 3 additions & 7 deletions content/fr/tutoriels/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@ description: Accès au différents tutoriels, par type de données et d'usage
date: git Last Modified
tags:
- Index des tutoriels
segments:
- url: /developpeur
title: Documentation développeur
---

{% from "components/component.njk" import component with context %}

{{ component("breadcrumb", {
segments: [{
url: "/developpeur/",
title: "Documentation développeur"
}]
}) }}

<div class="fr-grid-row fr-grid-row--gutters">

<div class="fr-col-md-3">
Expand Down
15 changes: 5 additions & 10 deletions content/fr/tutoriels/raster/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,15 @@ date: git Last Modified
tags:
- Donnée raster
- Index des tutoriels
segments:
- url: /developpeur
title: Documentation développeur
- url: /tutoriels
title: Tutoriels
---

{% from "components/component.njk" import component with context %}

{{ component("breadcrumb", {
segments: [{
url: "/developpeur/",
title: "Documentation développeur"
},{
url: "/tutoriels/",
title: "Tutoriels"
}]
}) }}

<div class="fr-grid-row--gutters fr-mb-1w">

<div class="fr-col fr-col-md-12">
Expand Down
15 changes: 5 additions & 10 deletions content/fr/tutoriels/recherche/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,15 @@ date: git Last Modified
tags:
- Donnée indexée
- Index des tutoriels
segments:
- url: /developpeur
title: Documentation développeur
- url: /tutoriels
title: Tutoriels
---

{% from "components/component.njk" import component with context %}

{{ component("breadcrumb", {
segments: [{
url: "/developpeur/",
title: "Documentation développeur"
},{
url: "/tutoriels/",
title: "Tutoriels"
}]
}) }}

<div class="fr-grid-row--gutters fr-mb-1w">

<div class="fr-col fr-col-md-12">
Expand Down
15 changes: 5 additions & 10 deletions content/fr/tutoriels/vecteur/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,15 @@ date: git Last Modified
tags:
- Donnée vecteur
- Index des tutoriels
segments:
- url: /developpeur
title: Documentation développeur
- url: /tutoriels
title: Tutoriels
---

{% from "components/component.njk" import component with context %}

{{ component("breadcrumb", {
segments: [{
url: "/developpeur/",
title: "Documentation développeur"
},{
url: "/tutoriels/",
title: "Tutoriels"
}]
}) }}

<div class="fr-grid-row--gutters fr-mb-1w">

<div class="fr-col fr-col-md-12">
Expand Down
1 change: 1 addition & 0 deletions content/sitemap/sitemap.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Plan du site
layout: layouts/page.njk
showBreadcrumb: true
---

{# List every content page in the project #}
Expand Down

0 comments on commit f7e4651

Please sign in to comment.