forked from open-sdg/open-sdg-site-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
_config.yml
executable file
·130 lines (111 loc) · 3.78 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
# 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: Indicators For The Sustainable Development Goals
# Replace the baseurl with the name of this repository.
baseurl: "/open-sdg-site-starter"
url: ""
data_dir: data
environment: staging
# Replace my-github-org and open-sdg-data-starter as needed.
remotedatabaseurl: "https://Veijo-sdg.github.io/open-sdg-data-starter"
jekyll_get_json:
- data: meta
# Replace my-github-org and open-sdg-data-starter as needed.
json: 'https://Veijo-sdg.github.io/open-sdg-data-starter/meta/all.json'
- data: headlines
# Replace my-github-org and open-sdg-data-starter as needed.
json: 'https://Veijo-sdg.github.io/open-sdg-data-starter/headline/all.json'
- data: schema
# Replace my-github-org and open-sdg-data-starter as needed.
json: 'https://Veijo-sdg.github.io/open-sdg-data-starter/meta/schema.json'
- data: reporting
# Replace my-github-org and open-sdg-data-starter as needed.
json: 'https://Veijo-sdg.github.io/open-sdg-data-starter/stats/reporting.json'
- data: translations
json: 'https://open-sdg.github.io/sdg-translations/translations-0.5.0.json'
analytics:
ga_prod: ''
# Social media accounts.
twitter: 'MyTwitterAccount'
# Replace the email addresses below.
email_contacts:
questions: [email protected]
suggestions: [email protected]
functional: [email protected]
# Github Repo for Data
# Replace this value as needed.
repo_name: open-sdg-data-starter
branch: develop
# Replace this value as needed.
org_name: my-github-org
# Build settings
highlighter: true
markdown: kramdown
# Travis Support
exclude: [vendor, scripts, remotedata]
# International Support
# Eg name: Australia and adjective: Australian
country:
name: Namibia
adjective: Namibian
# 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: /reporting-status/
# The "translation_key" refers to the key in the SDG Translations repository.
translation_key: menu.reporting_status
- path: /about/
translation_key: menu.about
#- path: /guidance/
# translation_key: menu.guidance
#- path: /faq/
# translation_key: menu.faq
# Configure the text (or "translation key") to be used on the
# non-global metadata tab.
#non_global_metadata: indicator.national_metadata
non_global_metadata: Metadata
download_chart:
# 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 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.github.io/sdg-translations/assets/img/goals
# Tell Jekyll to use the Remote Theme plugin.
plugins:
- jekyll-remote-theme
- jekyll-get-json
- jekyll-open-sdg-plugins
# Tell the Remote Theme plugin to use the Open SDG platform (Jekyll theme).
remote_theme: open-sdg/[email protected]
# Apply any custom CSS.
custom_css:
- /assets/css/custom.css