Skip to content

Commit

Permalink
Update .pages.yml (via Pages CMS)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMatthew1987 committed Feb 22, 2024
1 parent 7f6857c commit 2ed32ee
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion .pages.yml
Original file line number Diff line number Diff line change
@@ -1 +1,42 @@
media: files
media: files
content:
- name: posts
label: Posts
type: collection
path: '_posts'
view:
fields: [ title, published, date ]
fields:
- name: published
label: Published
type: boolean
default: true
- name: date
label: Date
type: date
- name: title
label: Title
type: string
- name: body
label: Body
type: rich-text
- name: config
label: Jekyll config
path: _config.yml
type: file
fields:
- name: title
label: Website title
type: string
- name: description
label: Website description
type: string
description: Will be provused for any page with no description.
- name: url
label: Website URL
type: string
pattern: ^(https?:\/\/)?(www\.)?[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}(\/[^\s]*)?$
- name: cover
label: Preview image
type: image
description: Image used in the social preview on social networks (e.g. Facebook, Twitter...)

0 comments on commit 2ed32ee

Please sign in to comment.