forked from ONSdigital/sdg-sdmx-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
executable file
·222 lines (192 loc) · 6.35 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# Jekyll configuration for Open SDG platform
# Doing the Quick start? Here are the settings to update during installation:
#
# Replace the baseurl with the name of this repository. For example, if the repository is named
# "my-site-repository", then update the baseurl like so:
# baseurl: "/my-site-repository"
baseurl: "/sdg-sdmx-site"
# The next line should be the URL of your data repository published site. To find this,
# go to your data repository in Github, and click "Settings", then scroll down to the
# "Github Pages" section. Copy/paste the link in the green section.
remote_data_prefix: "https://LucyGwilliamAdmin.github.io/sdg-sdmx-data"
# In the next few items, replace "open-sdg" with the name of your GitHub
# organization, and "open-sdg-data-starter" with the name of your data repository.
# URL for the "Edit Data" button on indicators.
data_edit_url: http://prose.io/#LucyGwilliamAdmin/sdg-sdmx-data/edit/develop/data/indicator_[id].csv
# URL for the "Edit Metadata" button on indicators.
metadata_edit_url: http://prose.io/#LucyGwilliamAdmin/sdg-sdmx-data/edit/develop/meta/[id].md
#
# The list of languages that are translated. The first one is the default.
languages:
- en
graph_title_from_series: true
#
# That's enough for the Quick Start! The remaining settings can be configured later.
# Tell the Remote Theme plugin to use the Open SDG platform (Jekyll theme).
remote_theme: open-sdg/[email protected]
# Replace this title as needed.
title: general.site_title
url: ""
environment: staging
custom_css:
- /assets/css/custom.css
# Automatically create indicator pages, goal pages,
# and some other required pages.
create_indicators:
layout: indicator
create_goals:
layout: goal-by-target-vertical
create_pages:
pages:
- folder: /
layout: frontpage-alt
- folder: /goals
layout: goals
- folder: /reporting-status
layout: reportingstatus
- filename: indicators.json
folder: /
layout: indicator-json
- folder: /search
layout: search
analytics:
ga_prod: ''
# Sticky share buttons (facebook, twitter and email)
#sharethis_property: '5d279253faeee40012f195e1'
# Replace the email addresses below.
email_contacts:
questions: [email protected]
suggestions: [email protected]
functional: [email protected]
# International Support
# Eg name: Australia and adjective: Australian
country:
name: Australia
adjective: Australian
# Optionally set a title/body for the frontpage banner. The defaults below point to a standard
# translation, but feel free to change it as needed.
frontpage_introduction_banner:
title: frontpage.intro_title
description: frontpage.intro_body
frontpage_goals_grid:
title: Our data for Sustainable Development Goal indicators
description: Click on each goal for our Sustainable Development Goal global indicator data.
frontpage_cards:
- title: frontpage.download_all
include: components/download-all-data.html
- title: Lorem ipsum
content: |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi mollis
cursus est sed dapibus.
button_label: Read more
button_link: https://example.com
- title: Nam vestibulum
content: |
Nam vestibulum, purus quis porttitor imperdiet, nisl sem mollis nisl, a
interdum risus enim vitae tortor. Donec feugiat accumsan rutrum.
button_label: Read more
button_link: https://example.com
# Pages
collections:
pages:
output: true
permalink: /:path/
posts:
output: true
permalink: /news/:year/:month/:day/:title.html
indicators:
output: true
goals:
output: true
# Menu
menu:
# Use these to customise the main navigation.
- path: /goals
# The "translation_key" refers to the key in the SDG Translations repository.
translation_key: general.goals
- path: /reporting-status
translation_key: menu.reporting_status
- path: /about
translation_key: menu.about
- path: /guidance
translation_key: menu.guidance
- path: /faq
translation_key: menu.faq
- path: /news
translation_key: menu.updates
footer_menu:
- path: mailto:[email protected]
translation_key: menu.contact_us
- path: https://twitter.com/MyTwitterAccount
translation_key: general.twitter
- path: https://facebook.com/MyFacebookAccount
translation_key: general.facebook
- path: /about/cookies-and-privacy/
translation_key: menu.cookies
# Configure the text (or "translation key") to be used on the
# non-global metadata tab.
non_global_metadata: indicator.national_metadata
# Set a base for all goal image URLs. Note that the full goal image path will be
# the base below, completed with: /[language]/[number].png (eg, /fr/6.png).
goal_image_base: https://open-sdg.org/sdg-translations/assets/img/goals
# Tell Jekyll to use the Remote Theme plugin.
plugins:
- jekyll-remote-theme
- jekyll-open-sdg-plugins
# Exclude some files/folders.
exclude:
- vendor
- scripts
- remotedata
- Gemfile
- Gemfile.lock
- README
- README.md
- LICENSE
# Optionally uncomment and update the settings below to control the mapping functionality.
# These are only a few of the possible settings. For more details, see:
# https://open-sdg.readthedocs.io/en/latest/maps/
#map_options:
# minZoom: 5
# tileURL: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'
# tileOptions:
# attribution: 'My map attribution'
#map_layers:
# - min_zoom: 5
# max_zoom: 10
# subfolder: my-geojson-subfolder
# label: My map layer label (can be a translation key)
# Recommend accessibility improvements.
accessible_tabs: true
accessible_charts: true
# Specify any custom javascript files.
custom_js:
- /assets/js/custom.js
# Specify the format of the language toggles. Choices are:
# "dropdown", "links", or "none"
header_language_toggle: dropdown
footer_language_toggle: none
# Specify whether the Series disaggregation should be a toggle (like units).
series_toggle: true
# Control the behavior of breadcrumbs for certain types of content.
breadcrumbs:
post:
- label: general.home
path: /
- label: menu.updates
path: /news
goal:
- label: general.home
path: /
- label: general.goals
path: /goals
indicator:
- label: general.home
path: /
- label: general.goals
path: /goals
# Specify the style of header to use.
header:
include: header-menu-left-aligned.html
# Use an accessible color-set for charts.
graph_color_set: accessible