98 lines
1.9 KiB
YAML
98 lines
1.9 KiB
YAML
# Media files will be stored in the repo under static/images/uploads
|
|
media_folder: "static/images/uploads"
|
|
# The src attribute for uploaded media will begin with /images/uploads
|
|
public_folder: "/images/uploads"
|
|
|
|
slug:
|
|
encoding: "ascii"
|
|
clean_accents: true
|
|
sanitize_replacement: "-"
|
|
|
|
backend:
|
|
name: github
|
|
repo: HumanoidSandvichDispenser/sandvich.xyz
|
|
branch: master
|
|
|
|
collections:
|
|
- name: posts
|
|
label: Posts
|
|
folder: "content/posts"
|
|
create: true
|
|
slug: "{{ year }}-{{ month }}-{{ day }}-{{ slug }}"
|
|
fields:
|
|
- label: "Title"
|
|
name: "title"
|
|
widget: "string"
|
|
|
|
- label: "Publish Date"
|
|
name: "date"
|
|
widget: "datetime"
|
|
|
|
- label: "Body"
|
|
name: "body"
|
|
widget: "markdown"
|
|
|
|
- label: "Tags"
|
|
name: "tags"
|
|
widget: "list"
|
|
|
|
- name: music
|
|
label: Music
|
|
folder: "content/music"
|
|
create: true
|
|
slug: "{{ year }}-{{ month }}-{{ day }}-{{ slug }}"
|
|
fields:
|
|
- label: "Title"
|
|
name: "title"
|
|
widget: "string"
|
|
|
|
- label: "Artist"
|
|
name: "artist"
|
|
widget: "string"
|
|
|
|
- label: "MuseScore"
|
|
name: "musescore"
|
|
widget: "string"
|
|
|
|
- label: "Publish Date"
|
|
name: "date"
|
|
widget: "datetime"
|
|
|
|
- label: "Body"
|
|
name: "body"
|
|
widget: "markdown"
|
|
|
|
- label: "Parts"
|
|
name: "parts"
|
|
widget: "list"
|
|
|
|
- name: page
|
|
label: Page
|
|
folder: "content/books"
|
|
create: true
|
|
slug: "{{ series }}/{{ chapter }}/{{ slug }}"
|
|
fields:
|
|
- label: "Title"
|
|
name: "title"
|
|
widget: "string"
|
|
|
|
- label: "Series"
|
|
name: "series"
|
|
widget: "string"
|
|
|
|
- label: "Chapter"
|
|
name: "chapter"
|
|
widget: "string"
|
|
|
|
- label: "Publish Date"
|
|
name: "date"
|
|
widget: "datetime"
|
|
|
|
- label: "Body"
|
|
name: "body"
|
|
widget: "markdown"
|
|
|
|
- label: "Tags"
|
|
name: "tags"
|
|
widget: "list"
|