2023-03-19 14:36:01 +00:00
|
|
|
site_url: https://kb.accessible.tips
|
|
|
|
display_url: https://kb.accessible.tips
|
|
|
|
|
2023-03-18 17:09:33 +00:00
|
|
|
media_folder: "static/uploads"
|
|
|
|
public_folder: "/uploads"
|
2023-03-19 14:36:01 +00:00
|
|
|
|
|
|
|
search: false
|
|
|
|
|
2023-03-18 17:09:33 +00:00
|
|
|
backend:
|
|
|
|
name: git-gateway
|
|
|
|
branch: main
|
2023-03-19 14:36:01 +00:00
|
|
|
|
2023-03-18 17:09:33 +00:00
|
|
|
collections:
|
|
|
|
- name: "blog" # Used in routes, e.g., /admin/collections/blog
|
|
|
|
label: "Blog" # Used in the UI
|
2023-03-19 14:36:01 +00:00
|
|
|
folder: "content/posts" # The path to the folder where the documents are stored
|
2023-03-18 17:09:33 +00:00
|
|
|
create: true # Allow users to create new documents in this collection
|
|
|
|
slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
|
2023-03-19 14:36:01 +00:00
|
|
|
show_preview_links: true
|
|
|
|
preview_path: "posts/{{slug}}"
|
2023-03-18 17:09:33 +00:00
|
|
|
fields: # The fields for each document, usually in front matter
|
2023-03-19 14:36:01 +00:00
|
|
|
- {label: "Layout", name: "layout", widget: "hidden", default: "post", required: true}
|
|
|
|
- {label: "Title", name: "title", widget: "string", required: true}
|
2023-03-20 17:29:22 +00:00
|
|
|
- label: "Authors"
|
|
|
|
name: "authors"
|
|
|
|
widget: "list"
|
|
|
|
allow_add: true
|
|
|
|
required: true
|
|
|
|
summary: '{{fields.author}}'
|
|
|
|
field: {label: Author, name: author, widget: string}
|
2023-03-19 17:00:48 +00:00
|
|
|
- {label: "Publish Date", name: "publishDate", widget: "datetime", date_format: 'YYYY-MM-DD', time_format: false, required: true}
|
|
|
|
- {label: "Last Modified", name: "lastMod", widget: "datetime", date_format: 'YYYY-MM-DD', time_format: false, required: true}
|
2023-03-19 14:36:01 +00:00
|
|
|
- {label: "Show TOC?", name: "toc", widget: "boolean", default: true}
|
|
|
|
- {label: "Draft?", name: "draft", widget: "boolean", default: true}
|
|
|
|
- label: "Categories"
|
|
|
|
name: "categories"
|
|
|
|
widget: "list"
|
|
|
|
allow_add: false
|
|
|
|
default: ["blog"]
|
|
|
|
- label: "Tags"
|
|
|
|
name: "tags"
|
|
|
|
widget: "list"
|
2023-03-19 16:33:12 +00:00
|
|
|
allow_add: true
|
2023-03-19 14:36:01 +00:00
|
|
|
required: true
|
2023-03-19 16:43:48 +00:00
|
|
|
summary: '{{fields.tag}}'
|
|
|
|
field: {label: Tag, name: tag, widget: string}
|
2023-03-19 17:55:53 +00:00
|
|
|
- label: "Content"
|
|
|
|
name: "body"
|
|
|
|
widget: "markdown"
|
|
|
|
required: true
|
|
|
|
default: >-
|
|
|
|
## Changelog
|
2023-03-19 18:48:12 +00:00
|
|
|
|
|
|
|
{{< back_to_top >}}
|
2023-03-19 18:42:09 +00:00
|
|
|
|
|
|
|
{{< changelog >}}
|
2023-03-19 18:44:01 +00:00
|
|
|
|
2023-03-19 17:55:53 +00:00
|
|
|
{{< change 2000-12-30 "change 1" >}}
|
|
|
|
|
|
|
|
{{< change 2000-12-31 "change 2" >}}
|
|
|
|
|
|
|
|
{{< /changelog >}}
|
2023-03-19 18:42:09 +00:00
|
|
|
|
|
|
|
{{< end_section >}}
|
2023-03-19 16:54:26 +00:00
|
|
|
- name: "tips" # Used in routes, e.g., /admin/collections/blog
|
|
|
|
label: "Tips" # Used in the UI
|
|
|
|
folder: "content/tips" # The path to the folder where the documents are stored
|
|
|
|
create: true # Allow users to create new documents in this collection
|
|
|
|
slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
|
|
|
|
show_preview_links: true
|
|
|
|
preview_path: "tips/{{slug}}"
|
|
|
|
fields: # The fields for each document, usually in front matter
|
|
|
|
- {label: "Layout", name: "layout", widget: "hidden", default: "post", required: true}
|
|
|
|
- {label: "Title", name: "title", widget: "string", required: true}
|
2023-03-20 17:29:22 +00:00
|
|
|
- label: "Authors"
|
|
|
|
name: "authors"
|
|
|
|
widget: "list"
|
|
|
|
allow_add: true
|
|
|
|
required: true
|
|
|
|
summary: '{{fields.author}}'
|
|
|
|
field: {label: Author, name: author, widget: string}
|
2023-03-19 17:07:38 +00:00
|
|
|
- {label: "Publish Date", name: "publishDate", widget: "datetime", date_format: 'YYYY-MM-DD', time_format: false, required: true}
|
|
|
|
- {label: "Last Modified", name: "lastMod", widget: "datetime", date_format: 'YYYY-MM-DD', time_format: false, required: true}
|
2023-03-19 16:54:26 +00:00
|
|
|
- {label: "Show TOC?", name: "toc", widget: "boolean", default: true}
|
|
|
|
- {label: "Draft?", name: "draft", widget: "boolean", default: true}
|
|
|
|
- label: "Categories"
|
|
|
|
name: "categories"
|
|
|
|
widget: "list"
|
|
|
|
allow_add: true
|
|
|
|
required: true
|
|
|
|
summary: '{{fields.category}}'
|
|
|
|
field: {label: Category, name: category, widget: string}
|
|
|
|
default: ["tips"]
|
|
|
|
- label: "Tags"
|
|
|
|
name: "tags"
|
|
|
|
widget: "list"
|
|
|
|
allow_add: true
|
|
|
|
required: true
|
|
|
|
summary: '{{fields.tag}}'
|
|
|
|
field: {label: Tag, name: tag, widget: string}
|
2023-03-19 17:55:53 +00:00
|
|
|
- label: "Content"
|
|
|
|
name: "body"
|
|
|
|
widget: "markdown"
|
|
|
|
required: true
|
|
|
|
default: >-
|
|
|
|
## Changelog
|
2023-03-19 18:48:12 +00:00
|
|
|
|
|
|
|
{{< back_to_top >}}
|
2023-03-19 18:42:09 +00:00
|
|
|
|
|
|
|
{{< changelog >}}
|
|
|
|
|
2023-03-19 17:55:53 +00:00
|
|
|
{{< change 2000-12-30 "change 1" >}}
|
|
|
|
|
|
|
|
{{< change 2000-12-31 "change 2" >}}
|
|
|
|
|
|
|
|
{{< /changelog >}}
|
2023-03-19 18:42:09 +00:00
|
|
|
|
|
|
|
{{< end_section >}}
|