chore: update permalink configuration and content organization

Modified hugo.toml to use section in post front-matter for permalinks

Updated layouts/_default/single.html to handle posts without categories

Modified scripts/generate-content.js to organize content by category

Deleted content/_index.md and added new category directories
This commit is contained in:
kbe
2025-08-18 16:39:27 +02:00
parent 34084f1481
commit 710e63afda
266 changed files with 21494 additions and 27 deletions

View File

@@ -1,11 +1,14 @@
baseURL = 'http://localhost:1313/'
baseURL = 'http://www.mistergeek.net/'
languageCode = 'fr-fr'
title = 'Mistergeek'
# theme = "your-theme"
ignoreLogs = ["warning-goldmark-raw-html"]
[permalinks]
posts = "/posts/:slug/"
# [permalinks]
# posts = "/:section/:slug/"
[taxonomies]
category = "categories"
[markup.goldmark.renderer]
unsafe = true