feat: implement Hugo site structure and configuration
- 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
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"name": "hugo-wordpress-blog",
|
||||
"version": "1.0.0",
|
||||
"description": "Hugo static site with WordPress content",
|
||||
{
|
||||
"scripts": {
|
||||
"fetch-data": "node scripts/fetch-wordpress.js",
|
||||
"generate-content": "node scripts/generate-content.js",
|
||||
"prebuild": "npm run fetch-data && npm run generate-content",
|
||||
"build": "hugo --minify",
|
||||
"dev": "npm run fetch-data && npm run generate-content && hugo server -D",
|
||||
"clean": "rm -rf data/wordpress content/posts public"
|
||||
}
|
||||
"dependencies": {
|
||||
"node-fetch": "^3.3.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user