yup
This commit is contained in:
@@ -21,7 +21,8 @@ hugo server -D
|
|||||||
Edit `hugo.yaml` and replace:
|
Edit `hugo.yaml` and replace:
|
||||||
|
|
||||||
1. `baseURL: https://example.org/` with your real domain.
|
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
|
## Notes
|
||||||
|
|
||||||
|
|||||||
@@ -65,13 +65,15 @@ params:
|
|||||||
|
|
||||||
headless_cms:
|
headless_cms:
|
||||||
engine: sveltia
|
engine: sveltia
|
||||||
publish_mode: editorial_workflow
|
publish_mode: simple
|
||||||
media_folder: static/uploads
|
media_folder: static/uploads
|
||||||
public_folder: /uploads
|
public_folder: /uploads
|
||||||
backend:
|
backend:
|
||||||
name: github
|
name: gitea
|
||||||
repo: ChaseChimeric/personal-blog
|
repo: chasechimeric/hugo-site
|
||||||
branch: main
|
branch: main
|
||||||
|
base_url: https://git.pheasant-corn.ts.net
|
||||||
|
api_root: https://git.pheasant-corn.ts.net/api/v1
|
||||||
collections:
|
collections:
|
||||||
- name: posts
|
- name: posts
|
||||||
label: Posts
|
label: Posts
|
||||||
|
|||||||
Reference in New Issue
Block a user