-
Notifications
You must be signed in to change notification settings - Fork 5
/
netlify-cms.config.yml
5035 lines (4885 loc) · 145 KB
/
netlify-cms.config.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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
site_url: https://core.ac.uk
backend:
name: github
repo: oacore/content
branch: main
cms_label_prefix: '✏️ '
site_domain: core.ac.uk
base_url: https://auth.oacore.vercel.app
auth_endpoint: api/begin
commit_messages:
create: Create {{collection}} "{{slug}}"
update: Update {{collection}} "{{slug}}"
delete: Delete {{collection}} "{{slug}}"
uploadMedia: Upload {{path}}
deleteMedia: Delete {{path}}
squash_merges: true
media_folder: images
public_folder: images
publish_mode: editorial_workflow
slug:
clean_accents: true
show_preview_links: true
collections:
- name: about
create: false
delete: false
label: ℹ️ About
label_singular: section
description: >
All the sections on the page “About CORE”. Sections are listed in order
appearing on the page.
files:
- name: meta
label: ℹ️ Metadata (title, description, headline)
file: about/meta.yml
fields:
- name: title
widget: string
label: Title
hint: >
Displayed in the browser as a tab name and in Google, when
the page appears in the search results.
- name: description
widget: text
label: Description
hint: >
Description of the page, not visible on the page but will be shown
in search engines when the page appers in results. Important
to have good performance in search engines.
- name: headline
widget: string
label: Headline
hint: >
The title of the page. Displayed on the page below header
and above the page navigation.
- name: core
label: ❓ What is core (title, description)
file: about/core.yml
fields:
- name: title
widget: string
label: Title
hint: >
Section title
- name: description
widget: text
label: Description
hint: >
Section description
- name: mission
label: 👁 Mission
file: about/mission.md
fields:
- name: title
widget: string
label: Title
hint: >
Appears above the text and video.
- name: short-title
widget: string
label: Short Title
hint: >
Identifies the section in the page navigation bar.
If empty, the section won't appear in the page navigation.
- name: video
widget: object
label: Video
summary: '{{ fields.title }}'
fields:
- name: title
widget: string
label: Caption
hint: >
Necessary for people who cannot watch or load the video.
Lets them understand what it is about.
- name: src
widget: string
label: Link
hint: >
An embeddable URL for the video. When you click on “Share” and
then “Embed” on YouTube, it should be the <URL>
inside src="<URL>"
- name: body
widget: markdown
label: Content
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
- name: blog
label: 📘 Blog
file: about/blog.md
fields:
- name: title
label: Title
widget: string
- name: short-title
label: Short title
widget: string
hint: >
Identifies the section in the page navigation bar.
If empty, the section won't appear in the page navigation.
- name: action-label
widget: string
label: Call to action
hint: >
A button caption, intended to call the user view the target page.
- name: endorsements
label: '👉 Teaser: Endorsements'
file: about/endorsements.md
fields:
- name: title
label: Title
widget: string
- name: short-title
label: Short title
widget: string
hint: >
Identifies the section in the page navigation bar.
If empty, the section won't appear in the page navigation.
- name: body
widget: markdown
label: Content
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
- name: action-label
widget: string
label: Call to action
hint: >
A button caption, intended to call the user view the target page.
- name: icon-url
widget: hidden
label: Decorative icon
hint: >
An icon above the section. Configured internally.
There is no need to bother the content manager by designer things.
- name: how-it-works
label: ✨ How it works
file: about/how-it-works.md
fields:
- name: title
label: Title
widget: string
- name: short-title
label: Short title
widget: string
hint: >
Identifies the section in the page navigation bar.
If empty, the section won't appear in the page navigation.
- name: body
label: Content
widget: markdown
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
# Actions need rethinking. It's better if there is only one action only
# per piece of content, i.e. section
- name: action-labels
widget: object
label: Calls to action
hint: >
Button captions, intended to call the user view the target page or do
something we want them to do.
fields:
- name: primary
widget: string
label: Primary
- name: secondary
widget: string
label: Secondary
- name: services
label: '👉 Teaser: Services'
file: about/services.md
fields:
- name: title
label: Subsection title
widget: string
- name: short-title
label: Short title
widget: string
hint: >
Identifies the section in the page navigation bar.
If empty, the section won't appear in the page navigation.
- name: action-label
widget: string
label: Call to action
hint: >
A button caption, intended to call the user view the target page.
- name: team
label: 🧑💻 Team
file: about/team.md
fields:
- name: title
label: Title
widget: string
- name: short-title
label: Short title
widget: string
hint: >
Identifies the section in the page navigation bar.
If empty, the section won't appear in the page navigation.
- name: communities
label: '👉 Communities'
file: about/communities.md
fields:
- name: title
label: Title
widget: string
- name: short-title
label: Short title
widget: string
hint: >
Identifies the section in the page navigation bar.
If empty, the section won't appear in the page navigation.
- name: body
widget: markdown
label: Content
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
- name: action-label
widget: string
label: Call to action
hint: >
A button caption, intended to call the user view the target page.
- name: extra-action-label
widget: string
label: Call to extra action
hint: >
An extra button caption, intended to call the user view the target page
- name: icon-url
widget: hidden
label: Decorative icon
hint: >
An icon above the section. Configured internally.
There is no need to bother the content manager by designer things.
- name: resources
label: 🎇 Resources
file: about/resources.md
fields:
- name: title
label: Title
widget: string
- name: short-title
label: Short title
widget: string
hint: >
Identifies the section in the page navigation bar.
If empty, the section won't appear in the page navigation.
- name: research
label: '👉 Teaser: Research outputs'
file: about/research.md
fields:
- name: title
label: Title
widget: string
- name: short-title
label: Short title
widget: string
hint: >
Identifies the section in the page navigation bar.
If empty, the section won't appear in the page navigation.
- name: body
widget: markdown
label: Content
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
- name: action-label
widget: string
label: Call to action
hint: >
A button caption, intended to call the user view the target page.
- name: icon-url
widget: hidden
label: Decorative icon
hint: >
An icon above the section. Configured internally.
There is no need to bother the content manager by designer things.
slug: '{{filename}}'
preview_path: api/preview?page=about&ref=cms/about/{{slug}}
- name: consultancy
media_folder: '/images/consultancy'
public_folder: '/images/consultancy'
create: false
delete: false
label: 🤝 Consultancy
label_singular: section
description: >
All the sections on the page "Consultancy Services". Sections are listed in order
appearing on the page.
files:
- name: meta
label: ℹ️ Metadata (title, description, headline)
file: consultancy/meta.yml
fields:
- name: title
widget: string
label: Title
hint: >
Displayed in the browser as a tab name and in Google, when
the page appears in the search results.
- name: tagline
widget: text
label: Description
hint: >
Description of the page, not visible on the page but will be shown
in search engines when the page appers in results. Important
to have good performance in search engines.
- name: header
label: Header (title, description, headline)
file: consultancy/header.yml
fields:
- name: header
widget: object
label: Header
hint: >
Anchor links to the page content. Must to equal block name.
fields:
- name: id
widget: string
label: Id
hint: >
Page Id
- name: title
widget: string
label: Title
hint: >
The title of the page. Displayed on the page below header.
- name: icon
widget: file
label: Icon
hint: icon next to title.
- name: image
widget: file
label: Image
hint: Image on the right side.
- name: description
widget: text
label: Description
hint: >
Description of the page.
- name: actions
label: Actions
widget: list
allow_add: true
fields:
- name: caption
label: Caption
widget: string
- name: variant
label: Variant
widget: string
- name: url
label: URL
widget: string
- name: target
label: Target
widget: string
required: false
- name: features
label: CORE API features
file: consultancy/features.yml
fields:
- name: features
widget: list
label: Features
allow_add: true
hint: >
Features list data
fields:
- name: title
widget: string
label: Title
hint: >
Displayed in the browser as a card title.
- name: description
widget: string
label: Description
hint: >
Displayed in the browser as a card description.
- name: how-it-works
label: how it works features
file: consultancy/how-it-works.yml
fields:
- name: how-it-works
widget: object
label: how it works
allow_add: true
hint: >
how it works section
fields:
- name: title
widget: string
label: Title
hint: >
Displayed in the browser as a title.
- name: description
widget: string
label: Description
hint: >
Displayed in the browser as a card description.
- name: image
widget: file
label: Image
hint: Image on the right side.
- name: benefits
label: benefits
file: consultancy/benefits.yml
fields:
- name: benefits
widget: object
label: benefits
allow_add: true
hint: >
benefits cards
fields:
- name: title
widget: string
label: title
hint: >
cards title
- name: items
widget: list
label: Items
hint: >
Card items
fields:
- name: description
widget: string
label: description
hint: description of cards
- name: title
widget: string
label: Title
hint: title of card
- name: icon
widget: file
label: Icon
hint: icon next to title.
- name: contact
label: Contact us
file: consultancy/contact.yml
fields:
- name: title
widget: string
label: Title
hint: Title of the box
- name: caption
widget: string
label: Caption
hint: Caption (below title)
- name: image
widget: file
label: Image
hint: Image on the right side.
- name: action
label: Action
widget: object
fields:
- { label: Caption, name: caption, widget: string, hint: Caption of the button }
- { label: Variant, name: variant, widget: string, hint: You can make button filled or outlined. For filled use - contained, optional: true, default: contained }
- { label: Action, name: url, widget: string, hint: Button action. (url) , optional: true}
- name: testimonials
label: Testimonial
file: consultancy/testimonials.yml
fields:
- name: testimonials
widget: list
label: Testimonials
allow_add: true
fields:
- { label: Content,
name: content,
widget: string,
hint: Main content of the testimonial
}
- label: Author
name: author
widget: object
fields:
- {label: Name, name: name, widget: string}
- {label: Role, name: role, widget: string}
- {label: Avatar, name: picture, widget: file, hint: Small image in circle }
- name: related-services
label: CORE related services
file: consultancy/related-services.yml
fields:
- name: related-services
widget: list
label: related services
allow_add: true
hint: >
Services list data
fields:
- name: title
widget: string
label: Title
hint: >
Displayed in the browser as a card title.
- name: picture
widget: file
label: picture
hint: card picture
- name: url
widget: string
label: url
hint: >
Redirect url
- name: team
folder: team
extension: md
format: yaml-frontmatter
media_folder: '/images/team'
public_folder: '/images/team'
create: true
delete: false
label: 🧑💻 Team
label_singular: team member
summary: '{{first-name}} {{last-name}}'
fields:
- name: first-name
label: First Name
widget: string
- name: last-name
label: Last Name
widget: string
- name: role
label: Role
widget: string
- name: photo
label: Photo
widget: file
allow_multiple: false
required: false
- name: body
widget: markdown
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
label: Description
hint: >
Try to keep this text relatively small, about 3 sentences
- name: past
widget: boolean
default: false
label: Past
hint: >
Toggle the switch on if the member left the team
- name: order
widget: hidden
default: 0
label: Order
hint: >
This is used to force sorting team members on the website in a way
different from alphabetical. Higher numbers go first.
Practically, this is used to make project founder go first.
slug: '{{first-name}}-{{last-name}}'
sortable_fields: [first-name, last-name]
view_filters:
- field: past
pattern: false
label: Current
- field: past
pattern: true
label: Past
preview_path: api/preview?page=about&ref=cms/team/{{slug}}
- name: history
folder: history
extension: md
format: yaml-frontmatter
media_folder: '/images/history'
public_folder: '/images/history'
create: true
delete: true
label: 🕰 History
label_singular: history milestone
summary: "{{date | date('YYYY-MM')}} - {{title}}"
fields:
- name: date
label: Date
widget: datetime
format: YYYY-MM-DD
date_format: YYYY-MM-DD
time_format: ''
default: ''
hint: >
All milestones on the page are sorted in chronologic order.
The day is not displayed, therefore it doesn't have to be correct.
picker_utc: true
- name: title
label: Title
widget: string
hint: >
Keep it short to garantee a clean scannable look of the entry
on the website. A line would be ideal, up to 2 lines in general.
- name: body
widget: markdown
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
label: Description
hint: >
Try to keep this concise, it should be approximately 2-3 lines
on the website.
- name: image
widget: object
required: false
label: Image
summary: 'Image: {{alt}}'
hint: >
A good illustration of what the milestone is about.
Despite it being optional, having illustrations is preferable.
Fill either all or none of the fields.
fields:
- name: src
label: Source
widget: image
required: false
allow_multiple: false
hint: >
Provide a link to the image or upload as a file.
- name: alt
widget: string
required: false
label: Alternative text
hint: >
Description of what is actually displayed on the image.
It helps tech-assistive users who can't see the screen understand
what is on the picture.
- name: link
widget: object
required: false
label: Link
hint: >
The link to a relevant resource. It is optional but recommended.
Fill either all or none of the fields.
fields:
- name: href
widget: string
required: false
label: URL
- name: label
widget: string
required: false
label: Label
- name: description
label: Description
widget: string
required: false
- name: type
widget: string
required: false
label: Type
hint: >
What kind of the resoure it is and where? A “Post in CORE Blog”,
a “Webpage in Internet Archive” etc.
slug: '{{date}}-{{title}}'
sortable_fields: [date, title]
preview_path: api/preview?page=history&ref=cms/history/{{slug}}
- name: docs
folder: docs
extension: md
format: yaml-frontmatter
create: true
delete: false
label: 📘 Documentation
label_singular: documentation page
description: >
These are service documentation pages which are usually linked
from the landing pages, e.g. from core.ac.uk/services/dataset.
You can create more pages if needed by they will remain hidden
from whe website unless you link them explicitly or send to someone.
fields:
- name: title
widget: string
label: Title
hint: >
Displayed in the browser as a tab name and in Google, when
the page appears in the search results.
- name: description
widget: text
label: Description
hint: >
Description of the page, not visible on the page but will be shown
in search engines when the page appers in results. Important
to have good performance in search engines.
- name: headline
widget: string
required: false
default: ''
label: Headline
hint: >
The title of the page. Displayed on the page below header
and above the page navigation. If empty, the TITLE is used.
- name: body
widget: markdown
label: Content
# Block 1
- name: block_1_column_1
widget: markdown
label: Block 1 (Column 1)
required: false
hint: >
Used for: OAI
- name: block_1_column_2
widget: markdown
label: Block 1 (Column 2)
required: false
hint: >
Used for: OAI
# Block 2
- name: block_2_column_1
widget: markdown
label: Block 2 (Column 1)
required: false
hint: >
Used for: OAI
- name: block_2_column_2
widget: markdown
label: Block 2 (Column 2)
required: false
hint: >
Used for: OAI
# Block 3
- name: block_3_column_1
widget: markdown
label: Block 3 (Column 1)
required: false
hint: >
Used for: OAI
- name: block_3_column_2
widget: markdown
label: Block 3 (Column 2)
required: false
hint: >
Used for: OAI
# Block 4
- name: block_4_column_1
widget: markdown
label: Block 4 (Column 1)
required: false
hint: >
Used for: OAI
- name: block_4_column_2
widget: markdown
label: Block 4 (Column 2)
required: false
hint: >
Used for: OAI
sortable_fields: [title]
preview_path: api/preview?page=documentation/{{slug}}&ref=cms/docs/{{slug}}
- name: pages
folder: pages
extension: md
format: yaml-frontmatter
create: true
delete: true
label: 🗒 Other
label_singular: page
fields:
- name: title
widget: string
label: Title
hint: >
Displayed in the browser as a tab name and in Google, when
the page appears in the search results.
- name: description
widget: text
label: Description
hint: >
Description of the page, not visible on the page but will be shown
in search engines when the page appers in results. Important
to have good performance in search engines.
- name: headline
widget: string
required: false
default: ''
label: Headline
hint: >
The title of the page. Displayed on the page below header
and above the page navigation. If empty, the TITLE is used.
- name: body
widget: markdown
label: Content
sortable_fields: [title]
preview_path: api/preview?page={{slug}}&ref=cms/pages/{{slug}}
- name: community
create: false
delete: false
label: 👥 Community
label_singular: community
description: >
All the sections on the page Community CORE”. Sections are listed in order
appearing on the page.
files:
- name: header
label: ℹ️ Header(title,citation,author)
file: community/header.yml
fields:
- name: title
widget: string
label: Title
hint: >
Displayed in the browser as a tab name and in Google, when
the page appears in the search results.
- name: citation
widget: markdown
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
label: Citation
hint: >
Citation
- name: author
label: Author
widget: text
hint: >
Author of the citation above
- name: mission
label: 👁 Mission
file: community/mission.md
fields:
- name: description
widget: markdown
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
label: Description
hint: >
Appears at the left side
- name: symposium
label: 📘 Symposium Card
file: community/symposium.md
fields:
- name: title
label: Title
widget: string
hint: >
Title of the card
- name: description
label: Description
widget: markdown
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
hint: >
Description of the card
- name: action-label
widget: string
label: Call to action
hint: >
A button caption, intended show modal window with register request.
- name: join-cards
label: '👉 Why join?'
file: community/join-cards.md
fields:
- name: first-card-title
label: First Card Title
widget: string
- name: first-card-description
widget: markdown
label: First Card Description
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
- name: second-card-title
label: Second Card Title
widget: string
- name: second-card-description
widget: markdown
label: Second Card Description
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
- name: third-card-title
label: Third Card Title
widget: string
- name: third-card-description
widget: markdown
label: Third Card Description
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
- name: spotlight
label: ✨ Spotlight
file: community/spotlight.md
fields:
- name: title
label: Title
widget: string
- name: description
label: Description
widget: markdown
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
- name: join-footer
label: '👉 Join us'
file: community/join-us.md
fields:
- name: title
label: Title
widget: string
- name: description
label: Description
widget: markdown
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
- name: contact
label: Contact block
widget: markdown
buttons: [bold, italic, link, quote, bulleted-list, numbered-list]
- name: action-label
widget: string
label: Call to action
hint: >
A button caption, intended to call the user view the target page.
slug: '{{filename}}'
preview_path: api/preview?page=about&ref=cms/governance/{{slug}}
- name: quote
folder: quote
extension: md
format: yaml-frontmatter
media_folder: '/images/quote'
public_folder: '/images/quote'
create: true
delete: true
label: 🕵️♀️ Community quotes
label_singular: quote
summary: '{{first-name}} {{last-name}}'
fields:
- name: first-name
label: First Name
widget: string
- name: last-name
label: Last Name
widget: string
- name: photo
label: Photo
widget: file
allow_multiple: false
- name: profession
widget: string
label: Profession