Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

config.yml 5.06 KB
Newer Older
Seth A Johnson's avatar
Seth A Johnson committed
1
2
media_folder: static/assets
public_folder: assets
3
public_folder_relative: false
Seth A Johnson's avatar
Seth A Johnson committed
4
5
6
7
8
collections:
  - name: news
    label: News
    folder: src/content/news
    create: true
9
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
Seth A Johnson's avatar
Seth A Johnson committed
10
11
12
    fields:
      - { name: templateKey, label: "Template Key", widget: hidden, default: news }
      - { name: title, label: Title }
13
      - { name: summary, label: Summary }
Seth A Johnson's avatar
Seth A Johnson committed
14
15
16
17
18
19
      - { name: date, label: Published, widget: datetime }
      - { name: body, label: Body, widget: markdown }
  - name: events
    label: Events
    folder: src/content/events
    create: true
20
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
Seth A Johnson's avatar
Seth A Johnson committed
21
22
23
    fields:
      - { name: templateKey, label: "Template Key", widget: hidden, default: event }
      - { name: title, label: Title }
24
      - { name: summary, label: Summary }
25
      - { name: date, label: Published, widget: datetime }
Seth A Johnson's avatar
Seth A Johnson committed
26
27
28
29
30
      - { name: body, label: Body, widget: markdown }
  - name: books
    label: Books
    folder: src/content/books
    create: true
31
    slug: "{{authorLastname}}-{{title}}"
Seth A Johnson's avatar
Seth A Johnson committed
32
33
34
35
    fields:
      - { name: templateKey, label: "Template Key", widget: hidden, default: book }
      - { name: title, label: Title }
      - { name: authorLastname, label: "Primary Author Last Name" }
36
      - { name: author, label: "Author(s)" }
Seth A Johnson's avatar
Seth A Johnson committed
37
38
      - { name: cover, label: Cover, widget: image }
      - { name: description, label: Description }
Seth A Johnson's avatar
Seth A Johnson committed
39
      - { name: orderOnPage, label: "Order on Front Page", widget: number }
40
41
      - { name: readLink, label: "Read Link" }
      - { name: buyLink, label: "Buy Link" }
Seth A Johnson's avatar
Seth A Johnson committed
42
43
44
  - name: pages
    label: Pages
    files:
45
46
47
      - file: src/content/home.md
        name: home
        label: Home
Seth A Johnson's avatar
Seth A Johnson committed
48
49
        editor:
          preview: false
50
51
        fields:
          - { name: templateKey, label: "Template Key", widget: hidden, default: home-page }
Seth A Johnson's avatar
tagline    
Seth A Johnson committed
52
          - name: taglineSection
53
54
55
56
            label: "Tag Line Section"
            widget: object
            fields:
              - { name: text, label: Text, widget: markdown }
Seth A Johnson's avatar
Seth A Johnson committed
57
58
59
60
61
62
63
64
          - name: newsletterSection
            label: "Newsletter Section"
            widget: object
            fields:
              - { name: heading, label: Heading }
              - { name: description, label: Description }
              - { name: url, label: "Newsletter URL" }
              - { name: buttonLabel, label: "Button Label" }
Seth A Johnson's avatar
Seth A Johnson committed
65
66
67
          - name: videoSection
            label: "Video Section"
            widget: object
Seth A Johnson's avatar
Seth A Johnson committed
68
            fields:
Seth A Johnson's avatar
Seth A Johnson committed
69
70
71
              - { name: heading, label: Heading }
              - { name: description, label: Description }
              - { name: embed, label: "Video Embed Code", widget: text }
72
73
74
75
76
77
78
          - name: catalogSection
            label: "Catalog Section"
            widget: object
            fields:
              - { name: heading, label: Heading }
              - { name: catalogImage, label: "Catalog Image", widget: image }
              - { name: catalogPdf, label: "Catalog PDF", widget: markdown }
Seth A Johnson's avatar
Seth A Johnson committed
79
80
81
82
83
84
85
          - name: mapSection
            label: "Map Section"
            widget: object
            fields:
              - { name: heading, label: Heading }
              - { name: description, label: Description }
              - { name: mapImage, label: "Map Image", widget: image }
86
      - file: "src/content/about.md"
Seth A Johnson's avatar
Seth A Johnson committed
87
88
89
90
91
92
        name: about
        label: About
        fields:
          - { name: templateKey, label: "Template Key", widget: hidden, default: about-page }
          - { name: title, label: About }
          - { name: body, label: Body, widget: markdown }
93
94
95
      - file: "src/content/authors.md"
        name: authors
        label: Authors
Seth A Johnson's avatar
Seth A Johnson committed
96
        fields:
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
          - { name: templateKey, label: "Template Key", widget: hidden, default: authors-page }
          - { name: title, label: Authors }
          - { name: body, label: Body, widget: markdown }
      - file: "src/content/join.md"
        name: join
        label: Join
        fields:
          - { name: templateKey, label: "Template Key", widget: hidden, default: join-page }
          - { name: title, label: Join }
          - { name: body, label: Body, widget: markdown }
      - file: "src/content/series.md"
        name: series
        label: Series
        fields:
          - { name: templateKey, label: "Template Key", widget: hidden, default: series-page }
          - { name: title, label: Series }
Seth A Johnson's avatar
Seth A Johnson committed
113
          - { name: body, label: Body, widget: markdown }
114
115
116
117
118
119
120
      - file: "src/content/peerreview.md"
        name: peerReview
        label: "Peer Review"
        fields:
          - { name: templateKey, label: "Template Key", widget: hidden, default: series-page }
          - { name: title, label: Series }
          - { name: body, label: Body, widget: markdown }
121
      - file: "src/content/impact.md"
Seth A Johnson's avatar
Seth A Johnson committed
122
123
124
125
126
127
128
        name: impact
        label: Impact
        fields:
          - { name: templateKey, label: "Template Key", widget: hidden, default: impact-page }
          - { name: title, label: Impact }
          - { name: readershipMapDescription, label: "Readership Map Description", widget: markdown }
          - { name: googleDataStudioDescription, label: "Google Data Studio Description", widget: markdown }