Introduction des taxonomies avec les tags et catégories
This commit is contained in:
parent
a45cafeed1
commit
e77784f1dc
9 changed files with 30 additions and 3 deletions
12
hugo.toml
12
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",
|
||||
]
|
||||
]
|
||||
|
||||
[taxonomies]
|
||||
category = "categories"
|
||||
tag = "tags"
|
Loading…
Add table
Add a link
Reference in a new issue