forked from GSA/digitalgov.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
146 lines (123 loc) · 3.74 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
title : "Digital.gov"
baseURL : "/"
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
ignoreFiles:
- "^_template"
- "content/_tmp/*"
- "content/images/_inbox"
- "content/_archived/*"
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"]
# Goldmark is from Hugo 0.60 the default library used for Markdown.
# https://gohugo.io/getting-started/configuration-markup/#goldmark
markup:
defaultMarkdownHandler: blackfriday
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"
goUsaUsername : ""
goUsaApiKey : ""
devmode : false
# Homepage settings
dg_tagline: "Build better digital services"
# 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
# See: https://gohugo.io/content-management/related/#default-configuration
related:
threshold: 100
includeNewer: true
toLower: false
indices:
- name: topics
weight: 100
pluralizelisttitles : false
menu:
primary:
- Name : "News"
Identifier : "news"
URL : "/news/"
Weight : 1
- Name : "Events"
Identifier : "events"
URL : "/events/"
Weight : 2
- Name : "Resources"
Identifier : "resources"
URL : "/resources/"
Weight : 3
- Name : "Communities"
Identifier : "communities"
URL : "/communities/"
Weight : 4
- Name : "Tools"
Identifier : "tools"
URL : "/services/"
Weight : 5
contribute:
- Name : "Write for us"
Identifier : "contribute"
URL : "/contribute/"
Weight : 1
- Name : "Host an event"
Identifier : "digitalgov-university"
URL : "/digitalgov-university/"
Weight : 2
- Name : "Edit on GitHub"
Identifier : "edit"
URL : "https://github.com/GSA/digitalgov.gov/"
Weight : 3
about:
- Name : "About Us"
Identifier : "about"
URL : "/about/"
Weight : 1
- Name : "Site Policies"
Identifier : "policies"
URL : "/policies/"
Weight : 2