@@ -4,13 +4,12 @@ backend:
44
55publish_mode : editorial_workflow
66
7- media_folder : apps/web/public/images/blog
8- public_folder : /images/blog
9-
107collections :
118 - name : articles
129 label : Blog Articles
1310 folder : apps/web/content/articles
11+ media_folder : /apps/web/public/images/blog
12+ public_folder : /images/blog
1413 create : true
1514 slug : " {{slug}}"
1615 extension : mdx
@@ -19,7 +18,8 @@ collections:
1918 - label : Meta Title
2019 name : meta_title
2120 widget : string
22- hint : Title used for SEO and browser tab
21+ hint : Title for SEO/browser tab (50-60 chars ideal)
22+ pattern : ['^.{1,70}$', "Keep under 70 characters for SEO"]
2323
2424 - label : Display Title
2525 name : display_title
@@ -30,7 +30,8 @@ collections:
3030 - label : Meta Description
3131 name : meta_description
3232 widget : text
33- hint : Description used for SEO
33+ hint : Description for SEO (150-160 chars ideal)
34+ pattern : ['^.{50,200}$', "Aim for 150-160 characters"]
3435
3536 - label : Author
3637 name : author
@@ -46,6 +47,8 @@ collections:
4647 format : " YYYY-MM-DD"
4748 date_format : " YYYY-MM-DD"
4849 time_format : false
50+ default : " {{now}}"
51+ picker_utc : true
4952
5053 - label : Updated Date
5154 name : updated
@@ -54,6 +57,8 @@ collections:
5457 date_format : " YYYY-MM-DD"
5558 time_format : false
5659 required : false
60+ default : " {{now}}"
61+ picker_utc : true
5762
5863 - label : Cover Image
5964 name : coverImage
@@ -66,7 +71,6 @@ collections:
6671 name : featured
6772 widget : boolean
6873 default : false
69- required : false
7074
7175 - label : Published
7276 name : published
@@ -77,7 +81,6 @@ collections:
7781 - label : Category
7882 name : category
7983 widget : select
80- required : false
8184 options :
8285 - Case Study
8386 - Hyprnote Weekly
@@ -88,3 +91,36 @@ collections:
8891 name : body
8992 widget : markdown
9093 hint : Use standard markdown. For images, use  syntax.
94+
95+ - name : handbook
96+ label : Handbook
97+ folder : apps/web/content/handbook
98+ media_folder : /apps/web/public/images/handbook
99+ public_folder : /images/handbook
100+ create : true
101+ slug : " {{slug}}"
102+ extension : mdx
103+ format : mdx-custom
104+ nested :
105+ depth : 10
106+ summary : " {{title}}"
107+ subfolders : false
108+ fields :
109+ - label : Title
110+ name : title
111+ widget : string
112+ - label : Section
113+ name : section
114+ widget : select
115+ options :
116+ - About
117+ - Communication
118+ - Go to Market
119+ - How We Work
120+ - Who We Want
121+ - label : Summary
122+ name : summary
123+ widget : text
124+ - label : Body
125+ name : body
126+ widget : markdown
0 commit comments