set some editor defaults, clean up main editor title
This commit is contained in:
parent
1a6e3bbc61
commit
d1376ba8de
|
@ -48,8 +48,21 @@ collections:
|
|||
label: Tag
|
||||
widget: string
|
||||
- name: body
|
||||
label: Blog post content
|
||||
label: Content
|
||||
widget: markdown
|
||||
default: >-
|
||||
## Changelog
|
||||
|
||||
{{< back_to_top >}}
|
||||
|
||||
{{< changelog >}}
|
||||
|
||||
{{< change 2000-12-30 "change 1" >}}
|
||||
|
||||
{{< change 2000-12-31 "change 2" >}}
|
||||
|
||||
{{< /changelog >}}
|
||||
|
||||
- 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
|
||||
|
@ -87,5 +100,17 @@ collections:
|
|||
label: Tag
|
||||
widget: string
|
||||
- name: body
|
||||
label: Blog post content
|
||||
label: Content
|
||||
widget: markdown
|
||||
default: >-
|
||||
## Changelog
|
||||
|
||||
{{< back_to_top >}}
|
||||
|
||||
{{< changelog >}}
|
||||
|
||||
{{< change 2000-12-30 "change 1" >}}
|
||||
|
||||
{{< change 2000-12-31 "change 2" >}}
|
||||
|
||||
{{< /changelog >}}
|
||||
|
|
|
@ -38,7 +38,22 @@ collections:
|
|||
required: true
|
||||
summary: '{{fields.tag}}'
|
||||
field: {label: Tag, name: tag, widget: string}
|
||||
- {label: "Body", name: "body", widget: "markdown", required: true}
|
||||
- label: "Content"
|
||||
name: "body"
|
||||
widget: "markdown"
|
||||
required: true
|
||||
default: >-
|
||||
## Changelog
|
||||
|
||||
{{< back_to_top >}}
|
||||
|
||||
{{< changelog >}}
|
||||
|
||||
{{< change 2000-12-30 "change 1" >}}
|
||||
|
||||
{{< change 2000-12-31 "change 2" >}}
|
||||
|
||||
{{< /changelog >}}
|
||||
- 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
|
||||
|
@ -69,4 +84,20 @@ collections:
|
|||
required: true
|
||||
summary: '{{fields.tag}}'
|
||||
field: {label: Tag, name: tag, widget: string}
|
||||
- {label: "Body", name: "body", widget: "markdown", required: true}
|
||||
- label: "Content"
|
||||
name: "body"
|
||||
widget: "markdown"
|
||||
required: true
|
||||
default: >-
|
||||
## Changelog
|
||||
|
||||
{{< back_to_top >}}
|
||||
|
||||
{{< changelog >}}
|
||||
|
||||
{{< change 2000-12-30 "change 1" >}}
|
||||
|
||||
{{< change 2000-12-31 "change 2" >}}
|
||||
|
||||
{{< /changelog >}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue