diff --git a/archetypes/recettes.md b/archetypes/recettes.md index b0ff546..e1de527 100644 --- a/archetypes/recettes.md +++ b/archetypes/recettes.md @@ -5,6 +5,8 @@ lastmod: {{ .Date }} publishdate: {{ .Date }} description: "Recette" weight: 10 +categories: ["recette"] +tags: [] --- ## Ingrédients diff --git a/content/recettes/crepes-froment.md b/content/recettes/crepes-froment.md index 42330e1..490907e 100644 --- a/content/recettes/crepes-froment.md +++ b/content/recettes/crepes-froment.md @@ -6,6 +6,7 @@ publishdate: 2025-03-21T22:50:00+01:00 description: "Recette" weight: 10 tags: ["crêpes", "sucré", "bretagne"] +categories: ["recette"] --- ## Ingrédients diff --git a/content/recettes/crepes-pur-sarrasin.md b/content/recettes/crepes-pur-sarrasin.md index 741fe7a..a637bb0 100644 --- a/content/recettes/crepes-pur-sarrasin.md +++ b/content/recettes/crepes-pur-sarrasin.md @@ -6,6 +6,7 @@ publishdate: 2025-03-21T22:41:15+01:00 description: "Recette" weight: 10 tags: ["crêpes", "salé", "sarrasin", "bretagne"] +categories: ["recette"] --- ## Ingrédients diff --git a/content/recettes/crepes-sarrasin-froment.md b/content/recettes/crepes-sarrasin-froment.md index ccc440c..8d54359 100644 --- a/content/recettes/crepes-sarrasin-froment.md +++ b/content/recettes/crepes-sarrasin-froment.md @@ -6,6 +6,7 @@ publishdate: 2025-03-21T22:47:29+01:00 description: "Recette" weight: 10 tags: ["crêpes", "salé", "sarrasin", "bretagne"] +categories: ["recette"] --- ## Ingrédients diff --git a/content/recettes/moutabal.md b/content/recettes/moutabal.md index d048d9b..9deec8e 100644 --- a/content/recettes/moutabal.md +++ b/content/recettes/moutabal.md @@ -6,6 +6,7 @@ publishdate: 2025-03-21T21:56:59+01:00 description: "Recette du moutabal" weight: 10 tags: ["recettes", "moutabal", "oriental"] +categories: ["recette"] --- Le moutabal est un genre de caviar d'aubergines que j'ai découvert lors d'un voyage en diff --git a/hugo.toml b/hugo.toml index ce7528d..39f02a5 100644 --- a/hugo.toml +++ b/hugo.toml @@ -63,7 +63,7 @@ enableMissingTranslationPlaceholders = false # See https://gohugo.io/content-management/menus/ [menu] [[menu.main]] - name = "Accuel" + name = "Accueil" url = "/" weight = 1 identifier = 'accueil' @@ -72,6 +72,10 @@ enableMissingTranslationPlaceholders = false url = "/a-propos" weight = 10 identifier = 'a-propos' + [[menu.main]] + name = "Tags" + url = "/tags" + weight = 30 # Markup configure section # See https://gohugo.io/getting-started/configuration-markup/ @@ -109,4 +113,8 @@ enableMissingTranslationPlaceholders = false params = [ "tags", "categories", - ] \ No newline at end of file + ] + +[taxonomies] + category = "categories" + tag = "tags" \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..85cb0ce --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,6 @@ +{{- define "main" -}} +