forked from GSA/digitalgov.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
181 lines (160 loc) · 3.64 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
title: "Digital.gov"
baseURL: "https://digital.gov"
languageCode: "en-us"
theme: "digital.gov"
themesDir: "./themes"
MetaDataFormat: "yaml"
DefaultContentLanguage: "en"
SectionPagesMenu: "main"
Paginate: 20
googleAnalytics: ""
enableRobotsTXT: true
enableEmoji: true
enableGitInfo: true
buildFuture: true
refLinksErrorLevel: WARNING
module:
mounts:
- source: content
target: content
- source: static
target: static
- source: layouts
target: layouts
- source: data
target: data
- source: assets
target: assets
- source: i18n
target: i18n
- source: archetypes
target: archetypes
# Mount S3 bucket content as a global resource
- source: assets/s3-images
target: assets/s3-images
sitemap:
changefreq: "daily"
priority: 1
filename: "sitemap.xml"
outputFormats:
SiteImages:
mediaType: "application/json"
baseName: "siteimages"
isPlainText: true
notAlternative: true
JSON:
mediatype: "application/json"
preserveTaxonomyNames: true
taxonomies:
topic: "topics"
author: "authors"
outputs:
home: ["HTML", "RSS", "SiteImages", "JSON"]
section: ["HTML", "RSS", "JSON"]
page: ["HTML", "JSON"]
term: ["HTML", "RSS", "JSON"]
markup:
defaultMarkdownHandler: goldmark
goldmark:
renderer:
unsafe: true
tableOfContents:
endLevel: 3
ordered: false
startLevel: 1
highlight:
style: lovelace
tabwidth: 2
params:
description: "Guidance on building better digital services in government"
agency_refer: "U.S. General Services Administration"
cdnurl: "https://s3.amazonaws.com/digitalgov"
git_org: "GSA"
git_repo: "digitalgov.gov"
devmode: false
# Homepage settings
dg_tagline: "Better websites. Better government."
# number of news items to include on the homepage
stream_count: 10
# number of events to include on the homepage
events_count: 3
#base SEO keywords
keywords:
- digital
- government
- technology
- civic-tech
refLinksNotFoundURL: https://digital.gov/resources/
permalinks:
news: ":year/:month/:day/:slug/"
events: "event/:year/:month/:day/:slug/"
# Related Posts Config
related:
threshold: 100
includeNewer: true
toLower: false
indices:
- name: topics
weight: 100
pluralizelisttitles: false
security:
funcs:
getenv:
- ^SITE_
- ^BRANCH
menu:
primary:
- Name: "Blogs"
Identifier: "blogs"
URL: "/news/"
Weight: 1
- Name: "Resources"
Identifier: "resources"
URL: "/resources/"
Weight: 3
- Name: "Events"
Identifier: "events"
URL: "/events/"
Weight: 2
- Name: "Communities"
Identifier: "communities"
URL: "/communities/"
Weight: 4
- Name: "Guides"
Identifier: "guides"
URL: "/guides/"
Weight: 4
- Name: "Job board"
Identifier: "job-board"
URL: "/job-board/"
Weight: 6
contribute:
- Name: "Write for us"
Identifier: "contribute"
URL: "/contribute/"
Weight: 1
- Name: "Host an event"
Identifier: "digitalgov-university"
URL: "/digitalgov-university/"
Weight: 2
- Name: "Submit GitHub issue"
Identifier: "edit"
URL: "https://github.com/GSA/digitalgov.gov/issues"
Weight: 3
about:
- Name: "About Us"
Identifier: "about"
URL: "/about/"
Weight: 1
- Name: "Site Policies"
Identifier: "policies"
URL: "/policies/"
Weight: 2
- Name: "Contact Us"
Identifier: "contact"
URL: "/about/contact/"
Weight: 3
- Name: "Content schedule"
Identifier: "manage-content"
URL: "/about/manage-content/"
Weight: 3