-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstaticman.yml
56 lines (52 loc) · 1.81 KB
/
staticman.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
comments:
allowedFields : ['name', 'email', 'url', 'message', 'replying_to']
branch : "master"
commitMessage : "New comment."
filename : "comment-{@timestamp}"
format : "yaml"
moderation : true
path : "_data/comments/{options.slug}"
requiredFields : ['name', 'message']
transforms:
email : md5
generatedFields:
date:
type : "date"
options:
format : "iso8601"
projects:
allowedFields : ['title', 'info', 'short-desc', 'needs', 'lab', 'status', 'link', 'contact-name', 'contact-email']
branch : "master"
commitMessage : "New project"
filename : "{fields.slug}"
format : "frontmatter"
moderation : true
path : "_project"
requiredFields : ['title', 'short-desc', 'lab', 'status', 'contact-name', 'contact-email']
transforms:
content : frontmatterContent
generatedFields:
date:
type : "date"
options:
format : "iso8601"
slug:
type : "slugify"
options:
field : title
dw:
allowedFields : ['title', 'titel', 'art', 'visible', 'top-kmk', 'kmk', 'fach', 'medien', 'desc', 'desc2', 'lernziele', 'tipp', 'long-fach', 'zielgruppe', 'lizenz', 'dauer', 'vorbereitungszeit', 'author-name', 'author-email', 'author-website', 'tags', 'link']
branch : "master"
commitMessage : "New card"
filename : "{fields.title}"
format : "frontmatter"
moderation : true
path : "_dw"
requiredFields : ['title', 'titel', 'desc', 'desc2']
transforms:
desc2 : frontmatterContent
generatedFields:
date:
type : "date"
options:
format : "iso8601"