Skip to content

Commit d3cad4e

Browse files
authored
Merge pull request #11 from supabase-community/pages_cms
Pages cms
2 parents fb41878 + 9c22bff commit d3cad4e

6 files changed

+71
-0
lines changed

.pages.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
media:
2+
input: src/media
3+
output: /media
4+
content:
5+
- name: posts
6+
label: Posts
7+
type: collection
8+
path: 'src/posts'
9+
view:
10+
fields: [ title, published, date ]
11+
fields:
12+
- name: published
13+
label: Published
14+
type: boolean
15+
default: true
16+
- name: date
17+
label: Date
18+
type: date
19+
- name: title
20+
label: Title
21+
type: string
22+
- name: body
23+
label: Body
24+
type: rich-text
25+
- name: site
26+
label: Site settings
27+
path: src/_data/site.json
28+
type: file
29+
fields:
30+
- name: title
31+
label: Website title
32+
type: string
33+
- name: description
34+
label: Website description
35+
type: string
36+
description: Will be provused for any page with no description.
37+
- name: url
38+
label: Website URL
39+
type: string
40+
pattern: ^(https?:\/\/)?(www\.)?[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}(\/[^\s]*)?$
41+
- name: cover
42+
label: Preview image
43+
type: image
44+
description: Image used in the social preview on social networks (e.g. Facebook, Twitter...)

src/posts/.gitkeep

Whitespace-only changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
published: true
3+
title: Developing a Wasm Wrapper
4+
---
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
published: true
3+
title: "Ecosystem: Discover Wasm FDWs"
4+
---
5+
Submit a PR to add your own WASM wrapper
6+
7+
* GitHub: Some link
8+
9+
* Paddle: Some link
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
published: true
3+
title: Getting started
4+
---
5+
Todo
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
published: true
3+
title: Installing a Postgres Wasm FDW
4+
---
5+
Your Wasm FDW can be installed on any platform that supports Postgres \[Wrappers\](https://github.com/supabase/wrappers).
6+
7+
\## With Supabase
8+
9+
Todo

0 commit comments

Comments
 (0)