forked from GSA/challenges-and-prizes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
executable file
·231 lines (194 loc) · 7.13 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
223
224
225
226
227
228
229
230
231
# 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.
# 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 }}.
##########################################################################################
# Be sure to edit the values below
##########################################################################################
title: Challenge.gov
email: team@challenge.gov
feature_image: /assets/images/cards/challenge-gov.png
description: >- # this means to ignore newlines until "baseurl:"
Here, members of the public compete to help the U.S. government solve problems big and small. Browse through challenges and submit your ideas for a chance to win.
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://www.challenge.gov" # the base hostname & protocol for your site, e.g. http://example.com
# Twitter handle. Only the handle, not the URL.
twitter: challengegov
# Configuration for Google Analytics, add your UA code here:
google_analytics_ua: UA-127724030-1
# Configuration for DAP, add your agency ID here:
dap_agency: GSA
# Site Navigation
primary_navigation:
- name: Home
url: /
- name: About
url: /about/
- name: Blog
url: /blog/
- name: Agency Toolkit
children:
- name: Overview
url: /toolkit/
- name: Case Studies
url: /toolkit/case-studies/
- name: Resources
url: /toolkit/resources/
- name: FAQ
url: /toolkit/faq/
- name: Archived Challenges
children:
- name: 2020
url: /archive/2020/
- name: 2019
url: /archive/2019/
- name: 2018
url: /archive/2018/
- name: 2017
url: /archive/2017/
- name: 2016
url: /archive/2016/
- name: 2015
url: /archive/2015/
- name: 2014
url: /archive/2014/
- name: 2013
url: /archive/2013/
- name: 2012
url: /archive/2012/
- name: 2011
url: /archive/2011/
- name: 2010
url: /archive/2010/
secondary_navigation:
- name: Secondary link
url: '#main-content'
- name: Another secondary link
url: '#main-content'
# Search.gov configuration
#
# 1. Create an account with Search.gov https://search.usa.gov/signup
# 2. Add a new site.
# 3. Add your site/affiliate name here.
searchgov_affiliate: challenge.gov
##########################################################################################
# The values below here are more advanced and should only be
# changed if you know what they do
##########################################################################################
collections:
pages:
output: true
permalink: /:path/
all-challenges:
output: true
permalink: /:path/
# archived-challenges:
# output: true
# permalink: /:path/
# all-challenges:
# output: true
# source: challenges.json
# id_key: name
# layout: json-page
permalink: pretty
# page_gen:
# - data: 'historical_challenges'
# template: 'json-page'
# name: 'name'
# dir: 'all-challenges'
markdown: kramdown
plugins:
- jekyll-feed
- jekyll-paginate-v2
############################################################
# Site configuration for the Jekyll 3 Pagination Gem
# The values here represent the defaults if nothing is set
pagination:
# Site-wide kill switch, disabled here it doesn't run at all
enabled: true
# Set to 'true' to enable pagination debugging. This can be enabled in the site config or only for individual pagination pages
debug: false
# The default document collection to paginate if nothing is specified ('posts' is default)
collection: 'posts'
# How many objects per paginated page, used to be `paginate` (default: 0, means all)
per_page: 3
# The permalink structure for the paginated pages (this can be any level deep)
permalink: '/page/:num/' # Pages are index.html inside this folder (default)
#permalink: '/page/:num.html' # Pages are simple html files
#permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style.
# Optional the title format for the paginated pages (supports :title for original page title, :num for pagination page number, :max for total number of pages)
title: ':title - page :num'
# Limit how many pagenated pages to create (default: 0, means all)
limit: 0
# Optional, defines the field that the posts should be sorted on (omit to default to 'date')
sort_field: 'date'
# Optional, sorts the posts in reverse order (omit to default decending or sort_reverse: true)
sort_reverse: true
# Optional, the default category to use, omit or just leave this as 'posts' to get a backwards-compatible behavior (all posts)
category: 'posts'
# Optional, the default tag to use, omit to disable
tag: ''
# Optional, the default locale to use, omit to disable (depends on a field 'locale' to be specified in the posts,
# in reality this can be any value, suggested are the Microsoft locale-codes (e.g. en_US, en_GB) or simply the ISO-639 language code )
locale: ''
# Optional,omit or set both before and after to zero to disable.
# Controls how the pagination trail for the paginated pages look like.
trail:
before: 2
after: 2
# Optional, the default file extension for generated pages (e.g html, json, xml).
# Internally this is set to html by default
extension: html
# Optional, the default name of the index file for generated pages (e.g. 'index.html')
# Without file extension
indexpage: 'index.html'
# # Configuration for jekyll_pages_api_search plugin gem.
# jekyll_pages_api_search:
# # Uncomment this to speed up site generation while developing.
# #skip_index: true
#
# # Each member of `index_fields` should correspond to a field generated by
# # the jekyll_pages_api. It can hold an optional `boost` member as a signal
# # to Lunr.js to weight the field more highly (default is 1).
# index_fields:
# title:
# boost: 10
# tags:
# boost: 10
# url:
# boost: 5
# body:
#
# # If defined and browserify and uglifyify are installed, the plugin will
# # generate a bundle to define the renderJekyllPagesApiSearchResults
# # function.
# browserify:
# source: js/my-search.js
# target: js/my-search-bundle.js
#
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle
- vendor/cache
- vendor/gems
- vendor/ruby
- node_modules
- package.json
- package-lock.json
- README.md
- src