Skip to content

Commit

Permalink
configure pagecms
Browse files Browse the repository at this point in the history
luigieai committed Jan 11, 2025
1 parent 1867c3a commit a8dea63
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
content:
- name: blog
path: src/content/blog
url: /blog/posts
fields:
title:
type: string
required: true
description:
type: string
required: true
pubDate:
type: date
required: true
heroImage:
type: string
required: false
updatedDate:
type: date
required: false

media:
path: public
url: /
allowed_extensions:
- png
- jpg
- jpeg
- gif
- webp
- svg
- ico
max_file_size: 5MB
image_sizes:
- 640
- 1280
- 1920

0 comments on commit a8dea63

Please sign in to comment.