Update to Eleventy v3 #11
3 changed files with 0 additions and 125 deletions
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"excludeFromSitemap": true
|
||||
}
|
|
@ -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" }
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
permalink: admin/index.html
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="robots" content="noindex" />
|
||||
<!-- Making Decap more responsive in mobile -->
|
||||
<!-- https://github.com/hithismani/responsive-decap -->
|
||||
<link rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/gh/hithismani/responsive-decap@main/dist/responsive.min.css">
|
||||
<title>Content Manager</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Include the script that builds the page and powers Decap CMS -->
|
||||
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue