- Add base template (baseof.html) for consistent layout - Create home page (index.html) and content (_index.md) - Update Hugo configuration (hugo.toml) for local development - Improve list template with proper block definition - Update .gitignore to exclude WordPress content - Add .gitkeep to maintain posts directory structure - Update package.json and dependencies - Refactor fetch-wordpress.js to use dynamic import - Update yarn.lock with latest dependencies
31 lines
692 B
TOML
31 lines
692 B
TOML
baseURL = 'http://localhost:1313/'
|
|
languageCode = 'fr-fr'
|
|
title = 'Mistergeek'
|
|
# theme = "your-theme"
|
|
ignoreLogs = ["warning-goldmark-raw-html"]
|
|
|
|
[permalinks]
|
|
posts = "/posts/:slug/"
|
|
|
|
[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"
|