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
rayyangh committed Nov 28, 2024
1 parent af116b1 commit 7a044b4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
content:
- name: Homepage
label: Posts
type: collection
path: _posts
view:
fields: [title, date]
fields:
- { name: title, label: Title, type: string }
- { name: layout, type: string, hidden: true, default: post }
- { name: date, label: Date, type: date }
- { name: comments, label: Comments, type: boolean, default: false }
- { name: description, label: Description, type: string, options: { maxlength: 160 } }
- { name: image, label: Image, type: image }
- { name: body, label: Body, type: text }

0 comments on commit 7a044b4

Please sign in to comment.