feat: update decap config

This commit is contained in:
Devin Haska 2024-03-01 11:57:50 -08:00
parent 036351c178
commit 13614ed605

View file

@ -14,11 +14,12 @@ collections:
label: "Post" label: "Post"
folder: "src/posts" folder: "src/posts"
create: true create: true
slug: "{% raw %}{{ year }}-{{ month }}-{{ day }}-{{ slug }}{% endraw %}"
fields: fields:
- { label: "Title", name: "title", widget: "string" } - { label: "Title", name: "title", widget: "string" }
- { label: "Excerpt", name: "excerpt", widget: "string" } - { label: "Excerpt", name: "excerpt", widget: "string" }
- { label: "Tags", name: "tags", widget: "list" } - { label: "Tags", name: "tags", widget: "list" }
- { label: "Using YouTube", name: "youtube", widget: "boolean", hint: "If using the YouTube shortcode, enable this option to append the lite-youtube script." } - { label: "Using YouTube", name: "youtube", widget: "boolean", default: false, hint: "If using the YouTube shortcode, enable this option to append the lite-youtube script." }
- { label: "Body", name: "body", widget: "markdown" } - { label: "Body", name: "body", widget: "markdown" }
- label: "Page" - label: "Page"
name: "page" name: "page"
@ -32,11 +33,13 @@ collections:
- { label: "Title", name: "title", widget: "string" } - { label: "Title", name: "title", widget: "string" }
- { label: "Permalink", name: "permalink", widget: "string" } - { label: "Permalink", name: "permalink", widget: "string" }
- { label: "Layout", name: "layout", widget: "hidden", default: "layouts/base" } - { label: "Layout", name: "layout", widget: "hidden", default: "layouts/base" }
- { label: "Using YouTube", name: "youtube", widget: "boolean", default: false, hint: "If using the YouTube shortcode, enable this option to append the lite-youtube script." }
- { label: "Body", name: "body", widget: "markdown" } - { label: "Body", name: "body", widget: "markdown" }
{% endfor %} {% endfor %}
- name: "book" - name: "book"
label: "Book" label: "Book"
folder: "src/catalogue/books" folder: "src/catalogue/books"
slug: "{% raw %}{{ year }}-{{ month }}-{{ day }}-{{ slug }}{% endraw %}"
create: true create: true
fields: fields:
- { label: "Title", name: "title", widget: "string" } - { label: "Title", name: "title", widget: "string" }
@ -45,10 +48,12 @@ collections:
- { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 } - { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 }
- { label: "Image", name: "image", widget: "string", hint: "A CDN URL."} - { label: "Image", name: "image", widget: "string", hint: "A CDN URL."}
- { label: "Tags", name: "tags", widget: "list" } - { label: "Tags", name: "tags", widget: "list" }
- { label: "Using YouTube", name: "youtube", widget: "boolean", default: false, hint: "If using the YouTube shortcode, enable this option to append the lite-youtube script." }
- { label: "Body", name: "body", widget: "markdown" } - { label: "Body", name: "body", widget: "markdown" }
- name: "game" - name: "game"
label: "Game" label: "Game"
folder: "src/catalogue/games" folder: "src/catalogue/games"
slug: "{% raw %}{{ year }}-{{ month }}-{{ day }}-{{ slug }}{% endraw %}"
create: true create: true
fields: fields:
- { label: "Title", name: "title", widget: "string" } - { label: "Title", name: "title", widget: "string" }
@ -57,10 +62,12 @@ collections:
- { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 } - { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 }
- { label: "Image", name: "image", widget: "string", hint: "A CDN URL."} - { label: "Image", name: "image", widget: "string", hint: "A CDN URL."}
- { label: "Tags", name: "tags", widget: "list" } - { label: "Tags", name: "tags", widget: "list" }
- { label: "Using YouTube", name: "youtube", widget: "boolean", default: false, hint: "If using the YouTube shortcode, enable this option to append the lite-youtube script." }
- { label: "Body", name: "body", widget: "markdown" } - { label: "Body", name: "body", widget: "markdown" }
- name: "comic" - name: "comic"
label: "Comic" label: "Comic"
folder: "src/catalogue/comics" folder: "src/catalogue/comics"
slug: "{% raw %}{{ year }}-{{ month }}-{{ day }}-{{ slug }}{% endraw %}"
create: true create: true
fields: fields:
- { label: "Title", name: "title", widget: "string" } - { label: "Title", name: "title", widget: "string" }
@ -70,10 +77,12 @@ collections:
- { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 } - { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 }
- { label: "Image", name: "image", widget: "string", hint: "A CDN URL."} - { label: "Image", name: "image", widget: "string", hint: "A CDN URL."}
- { label: "Tags", name: "tags", widget: "list" } - { label: "Tags", name: "tags", widget: "list" }
- { label: "Using YouTube", name: "youtube", widget: "boolean", default: false, hint: "If using the YouTube shortcode, enable this option to append the lite-youtube script." }
- { label: "Body", name: "body", widget: "markdown" } - { label: "Body", name: "body", widget: "markdown" }
- name: "podcast" - name: "podcast"
label: "Podcast" label: "Podcast"
folder: "src/catalogue/podcasts" folder: "src/catalogue/podcasts"
slug: "{% raw %}{{ year }}-{{ month }}-{{ day }}-{{ slug }}{% endraw %}"
create: true create: true
fields: fields:
- { label: "Title", name: "title", widget: "string" } - { label: "Title", name: "title", widget: "string" }
@ -81,4 +90,5 @@ collections:
- { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 } - { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 }
- { label: "Image", name: "image", widget: "string", hint: "A CDN URL."} - { label: "Image", name: "image", widget: "string", hint: "A CDN URL."}
- { label: "Tags", name: "tags", widget: "list" } - { label: "Tags", name: "tags", widget: "list" }
- { label: "Using YouTube", name: "youtube", widget: "boolean", default: false, hint: "If using the YouTube shortcode, enable this option to append the lite-youtube script." }
- { label: "Body", name: "body", widget: "markdown" } - { label: "Body", name: "body", widget: "markdown" }