This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/admin/config.yml
Cory Dransfeldt 699f25d175
feat: cms
2024-03-21 13:37:29 -07:00

15 lines
No EOL
594 B
YAML

backend:
name: git-gateway
branch: main
collections:
- name: "posts"
label: "Posts"
folder: "posts"
create: true
slug: "YYYY/title.md"
fields:
- {label: "Layout", name: "layout", widget: "hidden", default: "post"}
- {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime", time_format: false, date_format: "YYYY-MM-DDTHH:MM-08:00", format: "YYYY-MM-DDTHH:MM-08:00"}
- {label: "tags", name: "tags", widget: "list", default: ["posts"]}
- {label: "Body", name: "body", widget: "markdown"}