From 7fbea56bde02fe36e73c448055913ab812d1720a Mon Sep 17 00:00:00 2001 From: Devin Haska <2636402+wonderfulfrog@users.noreply.github.com> Date: Thu, 3 Oct 2024 22:52:39 -0700 Subject: [PATCH] feat: remove decapcms --- src/admin/admin.json | 3 -- src/admin/config.njk | 101 ------------------------------------------- src/admin/index.html | 21 --------- 3 files changed, 125 deletions(-) delete mode 100644 src/admin/admin.json delete mode 100644 src/admin/config.njk delete mode 100644 src/admin/index.html diff --git a/src/admin/admin.json b/src/admin/admin.json deleted file mode 100644 index 1a138fd..0000000 --- a/src/admin/admin.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "excludeFromSitemap": true -} diff --git a/src/admin/config.njk b/src/admin/config.njk deleted file mode 100644 index 9a15b35..0000000 --- a/src/admin/config.njk +++ /dev/null @@ -1,101 +0,0 @@ ---- -permalink: /admin/config.yml ---- - -backend: - name: github - repo: wonderfulfrog/wonderfulfrog.com - branch: main - squash_merges: true - commit_messages: - create: {% raw %}"feat: add {{collection}} `{{slug}}`"{% endraw %} - update: {% raw %}"feat: update {{collection}} `{{slug}}`"{% endraw %} - delete: {% raw %}"feat: remove {{collection}} `{{slug}}`"{% endraw %} - -media_folder: "" - -publish_mode: editorial_workflow - -collections: - - name: "post" - label: "Post" - folder: "src/posts" - create: true - slug: "{% raw %}{{year}}-{{month}}-{{day}}-{{slug}}{% endraw %}" - fields: - - { label: "Title", name: "title", widget: "string" } - - { label: "Excerpt", name: "excerpt", widget: "string" } - - { 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: "Page" - name: "page" - create: false - files: - {% for page in collections.page %} - - label: "{{ page.data.title }}" - name: "{{ page.fileSlug }}" - file: "{{ page.inputPath | replace("./", "") }}" - fields: - - { label: "Title", name: "title", widget: "string" } - - { label: "Permalink", name: "permalink", widget: "string" } - - { 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" } - {% endfor %} - - name: "book" - label: "Book" - folder: "src/catalogue/books" - slug: "{% raw %}{{year}}-{{month}}-{{day}}-{{slug}}{% endraw %}" - create: true - fields: - - { label: "Title", name: "title", widget: "string" } - - { label: "Subtitle", name: "subtitle", widget: "string" } - - { label: "Author", name: "author", widget: "string" } - - { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 } - - { label: "Image", name: "image", widget: "string", hint: "A CDN URL."} - - { 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" } - - name: "game" - label: "Game" - folder: "src/catalogue/games" - slug: "{% raw %}{{year}}-{{month}}-{{day}}-{{slug}}{% endraw %}" - create: true - fields: - - { label: "Title", name: "title", widget: "string" } - - { label: "Subtitle", name: "subtitle", widget: "string" } - - { label: "Year", name: "year", widget: "string" } - - { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 } - - { label: "Image", name: "image", widget: "string", hint: "A CDN URL."} - - { 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" } - - name: "comic" - label: "Comic" - folder: "src/catalogue/comics" - slug: "{% raw %}{{year}}-{{month}}-{{day}}-{{slug}}{% endraw %}" - create: true - fields: - - { label: "Title", name: "title", widget: "string" } - - { label: "Publisher", name: "publisher", widget: "string" } - - { label: "Author", name: "author", widget: "string" } - - { label: "Year", name: "year", widget: "string" } - - { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 } - - { label: "Image", name: "image", widget: "string", hint: "A CDN URL."} - - { 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" } - - name: "podcast" - label: "Podcast" - folder: "src/catalogue/podcasts" - slug: "{% raw %}{{year}}-{{month}}-{{day}}-{{slug}}{% endraw %}" - create: true - fields: - - { label: "Title", name: "title", widget: "string" } - - { label: "URL", name: "url", widget: "string", hint: "A URL for someone to listen to the podcast." } - - { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 } - - { label: "Image", name: "image", widget: "string", hint: "A CDN URL."} - - { 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" } diff --git a/src/admin/index.html b/src/admin/index.html deleted file mode 100644 index 53ba78f..0000000 --- a/src/admin/index.html +++ /dev/null @@ -1,21 +0,0 @@ ---- -permalink: admin/index.html ---- - - - - - - - - - - - Content Manager - - - - - -