File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ media :
2+ input : public/images
3+ output : /images
4+
5+ content :
6+ - name : blog
7+ label : Blog
8+ type : collection
9+ path : src/content/blog
10+ filename : " {year}-{month}-{day}-{primary}.md"
11+ view :
12+ primary : title
13+ fields : [title, pubDate, isDraft, author]
14+ sort : [pubDate, title]
15+ default :
16+ sort : pubDate
17+ order : desc
18+ fields :
19+ - name : title
20+ label : Başlık
21+ type : string
22+ required : true
23+
24+ - name : description
25+ label : Açıklama
26+ type : text
27+ required : true
28+
29+ - name : pubDate
30+ label : Yayın Tarihi
31+ type : date
32+ required : true
33+ options :
34+ format : yyyy-MM-dd
35+
36+ - name : updatedDate
37+ label : Güncelleme Tarihi
38+ type : date
39+ options :
40+ format : yyyy-MM-dd
41+
42+ - name : heroImage
43+ label : Kapak Görseli
44+ type : image
45+ options :
46+ path : blog
47+
48+ - name : isDraft
49+ label : Taslak mı?
50+ type : boolean
51+ default : true
52+
53+ - name : tags
54+ label : Etiketler
55+ type : string
56+ list : true
57+
58+ - name : author
59+ label : Yazar
60+ type : string
61+
62+ - name : body
63+ label : İçerik
64+ type : rich-text
65+ required : true
You can’t perform that action at this time.
0 commit comments