yup
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user