generated from gbif/hp-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path_config.yml
205 lines (187 loc) · 6.69 KB
/
_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
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
# You should also look at https://hp-theme.gbif-staging.org/documentation-intro for options
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: GRSciColl # the title of your site should go here
email: [email protected]
description: >- # this means to ignore newlines (until baseurl:)
An ever growing catalogue of the world’s natural history collections and the material they hold
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://scientific-collections.gbif.org" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: gbif # if you have an account you want to link to. Else comment this line out
github_username: gbif # if you have an account you want to link to. Else comment this line out
webApi: "https://graphql.gbif.org"
# Build settings
theme: minima
plugins:
- jekyll-feed
- jekyll-remote-theme
remote_theme: gbif/jekyll-hp-base-theme
# For use by the 'standardPrivacy' layout
privacy:
name: GBIF
domain: gbif.org
contactEmail: [email protected]
helpdeskEmail: [email protected]
# The text for the terms can be changed by adding translations for 'terms', 'acceptTerms' and 'rejectTerms' in `/_data/translations.yml`.
siteMeasurements:
enable: false # When enabled there will be a popup asking the user for their consent. If they accept then the function "attachMeasurements" will be called. You can overwrite this function by adding a file `/_includes/js/measure.js` and replace the function.
GA_ID: "G-XXXXXXXX" # Your Google analytics ID. Sometimes they start with UA-XXXXX-X other times with G-XXXXXXXX depending on how you set it up
termsVersion: "2021-07-06" # A version number for your terms. If you change this, then the users will see the popup again asking them to confirm/reject anew.
plausible:
enabled: true
dataDomain: "scientific-collections.gbif.org"
algae:
rootLang: en
latestPostLimit: 3
logo: /assets/images/logo.svg # Logo in navbar, will be displayed with 28px height
logoAndTitle: true # include the title next to the logo
archive_permalink: /post/ # Permalink of page using archive.html layout, required when using post categories
style:
square: true # Should corners be square or rounded
colors:
primary: "#538e91" # Primary color of your brand. Use HEX code. Used for buttons and links
links: "#f08177" # What color should links have. Use a HEX code. DEfault is primary color.
coloredHeadlineLinks: false # If a headline is a link, then use the link color. Default is true.
navbar: # RELATED TO NAVIGATION BAR
brandBackground: "#538e91" # Define a custom background for the logo/title in the top navigation bar
color: "#37464c" # What color should the navbar be?
hasWhiteText: true # Should the text color be white?
# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
exclude:
- .sass-cache/
- .jekyll-cache/
- gemfiles/
- Gemfile
- Gemfile.lock
- node_modules/
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- .LICENSE
- .netlify.toml
- .README.md
# - _posts/es # if we start adding posts this should be added until they are ready
- fr/
- it/
- ru/
- ja/
- zh/
- ar/
- zh-tw/
permalink: pretty # will strip extensions like .html from urls
defaults:
- scope:
path: "" # an empty string here means all files in the project
values:
layout: "page" # So by default any page will use the layout "page"
lang: en # And have the default language english
- scope:
path: "_posts" # an empty string here means all files in the project
values:
layout: "post"
permalink: "/post/:year/:slug/" # Use /post/yyyy/{filename}/ as permalink for all posts
- scope:
path: "es/" # For anything in the "es" folder the default is to set the lang frontMatter property to "es" . this should be deleted or adapted to your site if you support other languages
values:
lang: es
- scope:
path: "_posts/es" # our subfolder in posts for spanish translation of news items
values:
layout: "post"
permalink: "/es/post/:year/:slug/" # Use /es/post/yyyy/{filename}/ as permalink for all posts
lang: es # And have the default language in that folder be spanish
- scope:
path: "fr/"
values:
lang: fr
- scope:
path: "_posts/fr"
values:
layout: "post"
permalink: "/fr/post/:year/:slug/"
lang: fr
- scope:
path: "ar/"
values:
lang: ar
- scope:
path: "_posts/ar"
values:
layout: "post"
permalink: "/ar/post/:year/:slug/"
lang: ar
- scope:
path: "ja/"
values:
lang: ja
- scope:
path: "_posts/ja"
values:
layout: "post"
permalink: "/ja/post/:year/:slug/"
lang: ja
- scope:
path: "ru/"
values:
lang: ru
- scope:
path: "_posts/ru"
values:
layout: "post"
permalink: "/ru/post/:year/:slug/"
lang: ru
- scope:
path: "zh/"
values:
lang: zh
- scope:
path: "_posts/zh"
values:
layout: "post"
permalink: "/zh/post/:year/:slug/"
lang: zh
- scope:
path: "zh-tw/"
values:
lang: zh-tw
- scope:
path: "_posts/zh-tw"
values:
layout: "post"
permalink: "/zh-tw/post/:year/:slug/"
lang: zh-tw
- scope:
path: "it/"
values:
lang: it
- scope:
path: "_posts/it"
values:
layout: "post"
permalink: "/it/post/:year/:slug/"
lang: it