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 Dec 3, 2024
1 parent d7862e5 commit 2789515
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .pages.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
content:
- name: Homepage
- name: posts
label: Posts
type: collection
path: _posts
Expand All @@ -12,4 +12,16 @@ content:
- { 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 }
- name: About
label: About
type: file
path: _tabs/about.md
view:
fields: [title]
fields:
- { name: title, label: Title, type: string }
- { name: layout, type: string, hidden: true, default: about }
- { name: comments, label: Comments, type: boolean, default: false }
- { name: image, label: Image, type: image }
- { name: body, label: Body, type: text }

0 comments on commit 2789515

Please sign in to comment.