This repository has been archived on 2025-08-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hugo-mistergeek/hugo.toml
kbe 710e63afda 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
2025-08-18 16:39:27 +02:00

34 lines
743 B
TOML

baseURL = 'http://www.mistergeek.net/'
languageCode = 'fr-fr'
title = 'Mistergeek'
# theme = "your-theme"
ignoreLogs = ["warning-goldmark-raw-html"]
# [permalinks]
# posts = "/:section/:slug/"
[taxonomies]
category = "categories"
[markup.goldmark.renderer]
unsafe = true
# WordPress API Configuration
[params.wordpress]
apiUrl = "https://www.mistergeek.net/wp-json/wp/v2"
postsPerPage = 10
featuredImageSize = "large"
authorEndpoint = "users"
categoryEndpoint = "categories"
tagEndpoint = "tags"
# Build configuration
[build]
writeStats = true
[[build.cachebusters]]
source = "assets/.*\\.(js|ts|jsx|ts)$"
target = "js"
[[build.cachebusters]]
source = "assets/.*\\.(css|sass|scss)$"
target = "css"