Files
williammiceli.me/static/admin/config.yml
Hermes 0341edc73d
build / build (push) Successful in 35s
Add Hugo link page with Sveltia CMS admin
Content lives in data/profile.yaml and is edited as structured fields through Sveltia at /admin/, so the page is never hand-written HTML. The CMS bundle is vendored at a pinned version instead of loaded from unpkg, and the admin assets ship with the built site, so hosting and builds stay self-contained. PKCE sign-in activates once a Gitea OAuth application client ID is added to static/admin/config.yml.
2026-10-24 03:53:31 +00:00

48 lines
1.5 KiB
YAML

backend:
name: gitea
repo: William/williammiceli.me
base_url: https://gitea.williammiceli.systems
api_root: https://gitea.williammiceli.systems/api/v1
media_folder: static/uploads
public_folder: /uploads
collections:
- name: profile
label: Profile
files:
- name: profile
label: Profile
file: data/profile.yaml
fields:
- { name: name, label: Name, widget: string }
- { name: tagline, label: Tagline, widget: string, required: false }
- { name: initials, label: Initials, widget: string, required: false, hint: Shown when no avatar is set }
- { name: avatar, label: Avatar, widget: image, required: false }
- name: links
label: Links
widget: list
fields:
- { name: label, label: Label, widget: string }
- { name: url, label: URL, widget: string }
- name: icon
label: Icon
widget: select
default: link-45deg
options:
- link-45deg
- envelope
- telephone
- globe2
- github
- gitlab
- git
- linkedin
- twitter-x
- instagram
- facebook
- youtube
- telegram
- whatsapp
- mastodon
- bluesky
- rss