rename Nouvelles -> News

This commit is contained in:
2025-06-08 22:39:27 +02:00
parent b33fe64cf6
commit 6a1738b1e1
3 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ enableRobotsTXT = true
pagerSize = 3 # this is set low for demonstrating with dummy content. Set to a higher number
[params]
mainSections = ["nouvelles", "activite"]
mainSections = ["news", "activite"]
recent_posts_number = 3
[params.ananke]

View File

@ -29,11 +29,11 @@ collections:
- { label: "Type", name: "type", widget: "select", default: "autre", options: [ski, camp, AG, autre] }
- { label: "Contenu", name: "body", widget: "markdown", modes: [rich_text] }
- label: "Nouvelles"
name: "nouvelle"
- label: "News"
name: "news"
widget: "string"
folder: "content/nouvelle"
preview_path: "nouvelle/{{slug}}"
folder: "content/news"
preview_path: "news/{{slug}}"
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
create: true
fields: