diff --git a/README.md b/README.md index 98c5d6d..8a0c7bf 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/hugo.yaml b/hugo.yaml index 068f051..f715865 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -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