~exprez135/culturebridge-hugo

ref: 70b728b611244006430f1c09a822395565b24cec culturebridge-hugo/public/admin/config.yml -rw-r--r-- 5.9 KiB
70b728b6exprez135 Automatically generated. Merged on Netlify CMS. 2 months ago
                                                                                
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
backend:
  name: git-gateway
  branch: master # Branch to update (optional; defaults to master)

media_folder: "static/images"
public_folder: "/images"

publish_mode: editorial_workflow

display_url: https://culturebridge.ga
logo_url: https://culturebridge.ga/logo.svg

collections:
  - name: "modules" # Used in routes, e.g., /admin/collections/blog
    label: "Modules" # Used in the UI
    folder: "content/modules" # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
    fields: # The fields for each document, usually in front matter
      - {label: "Title", name: "title", widget: "string"}
      - {label: "Body", name: "body", widget: "markdown"}
      - {label: "Flatten Section in TOC", name: "bookFlatSection", widget: "boolean", default: false}
      - {label: "Table of Contents", name: "bookToc", widget: "boolean", default: true}
      - {label: "Hidden", name: "bookHidden", widget: "boolean", default: false}
      - {label: "Collapse Section", name: "bookCollapseSection", widget: "boolean", default: false}
      - {label: "Weight", name: "weight", widget: "number", default: "10"}
  - name: "supplements" # Used in routes, e.g., /admin/collections/blog
    label: "Supplements" # Used in the UI
    folder: "content/supplements" # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
    fields: # The fields for each document, usually in front matter
      - {label: "Title", name: "title", widget: "string"}
      - {label: "Body", name: "body", widget: "markdown"}
      - {label: "Flatten Section in TOC", name: "bookFlatSection", widget: "boolean", default: false}
      - {label: "Table of Contents", name: "bookToc", widget: "boolean", default: true}
      - {label: "Hidden", name: "bookHidden", widget: "boolean", default: false}
      - {label: "Collapse Section", name: "bookCollapseSection", widget: "boolean", default: false}
      - {label: "Weight", name: "weight", widget: "number", default: "10"}
  - name: "stories" # Used in routes, e.g., /admin/collections/blog
    label: "Stories" # Used in the UI
    folder: "content/supplements/stories" # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
    fields: # The fields for each document, usually in front matter
      - {label: "Title", name: "title", widget: "string"}
      - {label: "Body", name: "body", widget: "markdown"}
      - {label: "Flatten Section in TOC", name: "bookFlatSection", widget: "boolean", default: false}
      - {label: "Table of Contents", name: "bookToc", widget: "boolean", default: true}
      - {label: "Hidden", name: "bookHidden", widget: "boolean", default: false}
      - {label: "Collapse Section", name: "bookCollapseSection", widget: "boolean", default: false}
      - {label: "Weight", name: "weight", widget: "number", default: "10"}
  - name: "activities" # Used in routes, e.g., /admin/collections/blog
    label: "Activities" # Used in the UI
    folder: "content/supplements/activities" # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
    fields: # The fields for each document, usually in front matter
      - {label: "Title", name: "title", widget: "string"}
      - {label: "Body", name: "body", widget: "markdown"}
      - {label: "Flatten Section in TOC", name: "bookFlatSection", widget: "boolean", default: false}
      - {label: "Table of Contents", name: "bookToc", widget: "boolean", default: true}
      - {label: "Hidden", name: "bookHidden", widget: "boolean", default: false}
      - {label: "Collapse Section", name: "bookCollapseSection", widget: "boolean", default: false}
      - {label: "Weight", name: "weight", widget: "number", default: "10"}
  - name: "info" # Used in routes, e.g., /admin/collections/blog
    label: "Info Pages" # Used in the UI
    folder: "content/info" # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
    fields: # The fields for each document, usually in front matter
      - {label: "Title", name: "title", widget: "string"}
      - {label: "Body", name: "body", widget: "markdown"}
      - {label: "Flatten Section in TOC", name: "bookFlatSection", widget: "boolean", default: false}
      - {label: "Table of Contents", name: "bookToc", widget: "boolean", default: false}
      - {label: "Hidden", name: "bookHidden", widget: "boolean", default: false}
      - {label: "Collapse Section", name: "bookCollapseSection", widget: "boolean", default: false}
      - {label: "Weight", name: "weight", widget: "number", default: "10"}
  - name: "updates" # Used in routes, e.g., /admin/collections/blog
    label: "Updates" # Used in the UI
    folder: "content/posts" # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
    fields: # The fields for each document, usually in front matter
      - {label: "Title", name: "title", widget: "string"}
      - {label: "Date", name: "body", widget: "datetime"}
      - {label: "Body", name: "body", widget: "markdown"}
      - {label: "Description", name: "description", widget: "string", default: ""}
      - {label: "Tags", name: "tags", widget: "list", default: "important", allow_add: true}
      - {label: "Categories", name: "categories", widget: "list", default: "news", allow_add: true}