-
Notifications
You must be signed in to change notification settings - Fork 4
/
_config.yml
executable file
·178 lines (156 loc) · 5.33 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
# Jekyll configuration for Open SDG platform
#
# You will need to change all of the capitalized variables below according
# to your Github setup. For example, if your site and data repositories are:
# -- https://github.com/my-awesome-github-org/my-awesome-site-repo
# -- https://github.com/my-awesome-github-org/my-awesome-data-repo
# Then you would want to make these replacements throughout this file:
# -- replace "MY-GITHUB-ORG" with "my-awesome-github-org"
# -- replace "OPEN-SDG-SITE-STARTER" with "my-awesome-site-repo"
# -- replace "OPEN-SDG-DATA-STARTER" with "my-awesome-data-repo"
# Replace this title as needed.
title: City of Los Angeles Indicators For The Sustainable Development Goals
# Replace the baseurl with the name of this repository.
baseurl: ""
url: ""
data_dir: data
# environment must be set to staging to toggle the edit buttions for prose.io
environment: staging
# Replace MY-GITHUB-ORG and OPEN-SDG-DATA-STARTER as needed.
remote_data_prefix: "https://sdg-data-starter-dev.itacloudops.org"
remote_translations:
- https://open-sdg.github.io/sdg-translations/translations-2.1.0.json
create_indicators:
layout: indicator
create_goals:
layout: goal-by-target
create_pages: true
analytics:
ga_prod: ''
# Social media accounts.
twitter: 'MyTwitterAccount'
# Replace the email addresses below.
email_contacts:
questions: sdg@lacity.org
suggestions: sdg@lacity.org
functional: sdg@lacity.org
# Github Repo for Data
# Replace this value as needed.
repo_name: open-sdg-data-starter
branch: development
# Replace this value as needed.
org_name: CityOfLosAngeles
# Build settings
markdown: kramdown
# Exclude some files/folders.
exclude:
- vendor
- scripts
- remotedata
- Gemfile
- Gemfile.lock
- README
- README.md
- LICENSE
# International Support
# Eg name: Australia and adjective: Australian
country:
name: City of Los Angeles
adjective: Angeleno
# 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: /
translation_key: general.goals
- path: /reporting-status/
# The "translation_key" refers to the key in the SDG Translations repository.
translation_key: data summary
- path: /publications/
translation_key: menu.publications
- path: /about/
translation_key: menu.about
# Configure the text (or "translation key") to be used on the
# non-global metadata tab.
non_global_metadata: Local Metadata
# The list of languages that are translated. The first one is the default.
languages:
- en
# This makes sure that all pages have a language.
defaults:
-
scope:
path: ""
values:
language: "en"
# Set where to point to for goal images.
goal_image_base: https://open-sdg.github.io/sdg-translations/assets/img/goals
# Tell Jekyll to use the Remote Theme plugin.
plugins:
- jekyll-remote-theme
- jekyll-open-sdg-plugins
# Tell the Remote Theme plugin to use the Open SDG platform (Jekyll theme). Related to https://github.com/open-sdg/open-sdg/releases
remote_theme: open-sdg/open-sdg@2.3.3
# Apply any custom CSS.
custom_css:
- /assets/css/custom.css
# This is the same as what is used on the current frontpage.
frontpage_introduction_banner:
title: My frontpage introduction banner title
description: My frontpage introduction banner description
# This controls the text that appears above the goals grid.
frontpage_goals_grid:
title: The Sustainable Development Goals
description: Click on each goal for data for Sustainable Development Goal global indicators. # dynamic linking of goals does not work so leaving as static text, see https://github.com/open-sdg/open-sdg-site-starter/issues/86
# This controls the three-column "cards" that appear below the goals grid.
frontpage_cards:
- title: Download all data
# This "feature" is used for baked-in stuff like "bulk_download".
include: components/download-all-data.html
# Optionally control the color of the line above the card title.
rule_color: green
- title: Useful resources
rule_color: blue
# Control the content of the card - can use Markdown.
content: |
* [Useful resource](https://example.com)
* [Useful resource](https://example.com)
* [Useful resource](https://example.com)
* [Useful resource](https://example.com)
* [Useful resource](https://example.com)
- title: Publications
rule_color: orange
content: |
* [Publication](https://example.com)
* [Publication](https://example.com)
* [Publication](https://example.com)
# Optionally add a button at the bottom of the card.
button_label: View more publications
button_link: https://example.com
# TODO: Investigate this https://open-sdg.readthedocs.io/en/latest/configuration/#reporting_status
reporting_status:
title: title goes here
description: description goes here
disaggregation_indicator_count_label: indicators in scope
disaggregation_tabs: true
status_types:
- value: notstarted
label: status.exploring_data_sources
hide_on_goal_pages: false
- value: complete
label: status.reported_online
hide_on_goal_pages: true
- value: notapplicable
label: status.not_applicable
hide_on_goal_pages: false