Introduction des taxonomies avec les tags et catégories

This commit is contained in:
Stanislas Jouffroy 2025-03-22 00:22:01 +01:00
parent a45cafeed1
commit e77784f1dc
9 changed files with 30 additions and 3 deletions

View file

@ -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",
]
]
[taxonomies]
category = "categories"
tag = "tags"