This commit is contained in:
Luke Slowen 2022-02-02 21:16:50 +00:00
commit 86c9579db1
4 changed files with 43 additions and 4 deletions

View File

@ -0,0 +1,16 @@
---
label: Page
hide_body: false
fields:
- type: text
name: title
label: title
- type: text
name: description
label: description
- type: text
name: featured_image
label: featured_image
- type: boolean
name: omit_header_text
label: omit_header_text

View File

@ -0,0 +1,22 @@
---
label: Post
hide_body: false
fields:
- type: datetime
name: date
label: date
- type: text
name: description
label: description
- type: file
name: featured_image
label: featured_image
- type: list
name: tags
label: tags
- type: text
name: title
label: title
- type: boolean
name: disable_share
label: disable_share

View File

@ -4,9 +4,6 @@ auto_deploy: false
admin_path:
webhook_url:
sections:
- type: document
path: config.toml
label: Config
- type: directory
path: exampleSite/content/en
label: Pages
@ -17,6 +14,9 @@ sections:
label: Posts
create: all
match: "**/*"
- type: document
path: config.toml
label: Config
upload_dir: exampleSite/static/images
public_path: "/images"
front_matter_path: ''

View File

@ -1,3 +1,4 @@
---
module:
hugoVersion:
min: "0.64.0"
min: 0.64.0