This commit is contained in:
2026-04-26 23:37:45 -07:00
parent 46d4e27ad4
commit ee02ef990c
2 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ hugo server -D
Edit `hugo.yaml` and replace:
1. `baseURL: https://example.org/` with your real domain.
2. `params.headless_cms.backend.repo: REPLACE_WITH_OWNER/REPLACE_WITH_REPO` with your GitHub repo.
2. `params.headless_cms.backend.repo: REPLACE_WITH_GITEA_OWNER/REPLACE_WITH_GITEA_REPO` with your Gitea repo.
3. `params.headless_cms.backend.base_url` and `api_root` with your Gitea/Forgejo instance URLs.
## Notes
+5 -3
View File
@@ -65,13 +65,15 @@ params:
headless_cms:
engine: sveltia
publish_mode: editorial_workflow
publish_mode: simple
media_folder: static/uploads
public_folder: /uploads
backend:
name: github
repo: ChaseChimeric/personal-blog
name: gitea
repo: chasechimeric/hugo-site
branch: main
base_url: https://git.pheasant-corn.ts.net
api_root: https://git.pheasant-corn.ts.net/api/v1
collections:
- name: posts
label: Posts