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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user