mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
Fix NetlifyCMS (#164)
* Fix NetlifyCMS Config * Rename files to MD if they dont need MDX * Fix link to admin UI
This commit is contained in:
@@ -5,7 +5,7 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
import styles from './signpost.module.scss';
|
||||
|
||||
const directions = [
|
||||
export const directions = [
|
||||
{
|
||||
emoji: '👈',
|
||||
label: 'Library',
|
||||
|
||||
@@ -22,6 +22,19 @@ collections:
|
||||
- {label: "Description", name: "description", widget: "string", required: false, hint: "The description of the post which will be used by search engines and link previews. If not present, will default to the first line of the post contents."}
|
||||
- {label: "Cover Image",name: "image", widget: "image", required: false, hint: "Cover or thumbnail image that will be used when displaying the link to the post."}
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
- name: "great-houses"
|
||||
label: "Great Houses"
|
||||
folder: "docs/great-houses"
|
||||
create: true
|
||||
slug: "{{slug}}"
|
||||
preview_path: "docs/great-houses/{{slug}}"
|
||||
editor:
|
||||
preview: false
|
||||
fields:
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
- {label: "Description", name: "description", widget: "string", required: false, hint: "The description of the post which will be used by search engines and link previews. If not present, will default to the first line of the post contents."}
|
||||
- {label: "Cover Image",name: "image", widget: "image", required: false, hint: "Cover or thumbnail image that will be used when displaying the link to the post."}
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
- name: "Guilding"
|
||||
label: "Guilding"
|
||||
folder: "docs/Guilding"
|
||||
@@ -48,19 +61,6 @@ collections:
|
||||
- {label: "Description", name: "description", widget: "string", required: false, hint: "The description of the post which will be used by search engines and link previews. If not present, will default to the first line of the post contents."}
|
||||
- {label: "Cover Image",name: "image", widget: "image", required: false, hint: "Cover or thumbnail image that will be used when displaying the link to the post."}
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
- name: "Players"
|
||||
label: "Players"
|
||||
folder: "docs/Players"
|
||||
create: true
|
||||
slug: "{{slug}}"
|
||||
preview_path: "docs/Players/{{slug}}"
|
||||
editor:
|
||||
preview: false
|
||||
fields:
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
- {label: "Description", name: "description", widget: "string", required: false, hint: "The description of the post which will be used by search engines and link previews. If not present, will default to the first line of the post contents."}
|
||||
- {label: "Cover Image",name: "image", widget: "image", required: false, hint: "Cover or thumbnail image that will be used when displaying the link to the post."}
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
- name: "resources"
|
||||
label: "Resources"
|
||||
folder: "docs/resources"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Content Manager</title>
|
||||
<link href="admin/config.yml" type="text/yaml" rel="cms-config-url">
|
||||
</head>
|
||||
<body>
|
||||
<!-- Include the script that builds the page and powers Netlify CMS -->
|
||||
|
||||
Reference in New Issue
Block a user