-
Notifications
You must be signed in to change notification settings - Fork 14
/
config.toml
165 lines (135 loc) · 3.31 KB
/
config.toml
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
baseURL = "https://www.spotlightpa.org/"
languageCode = "en-us"
title = "Spotlight PA"
enableRobotsTXT = true
enableGitInfo = true
rssLimit = 60
googleAnalytics = "GTM-NTQ87KG"
[pagination]
disableAliases = false
pagerSize = 30
path = 'page'
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark.extensions]
definitionList = false
footnote = false
linkify = false
strikethrough = false
table = false
taskList = false
typographer = true
[markup.goldmark.renderer]
unsafe = true
[privacy.googleAnalytics]
anonymizeIP = true
disable = false
respectDoNotTrack = true
useSessionStorage = true
[taxonomies]
author = "authors"
series = "series"
topic = "topics"
[frontmatter]
date = [":default", ":filename"]
publishDate = [":default", ":filename"]
[permalinks]
press-releases = ":section/:year/:slug/"
news = ":section/:year/:month/:slug/"
statecollege = ":section/:year/:month/:slug/"
[mediaTypes."text/netlify"]
delimiter = ""
[outputFormats.json]
mediaType = "application/json"
isPlainText = true
[outputFormats.csv]
mediaType = "text/csv"
isPlainText = true
[outputFormats.redirects]
mediatype = "text/netlify"
baseName = "_redirects"
isPlainText = true
notAlternative = true
[outputFormats.headers]
mediatype = "text/netlify"
baseName = "_headers"
isPlainText = true
notAlternative = true
[outputs]
home = ["html", "redirects", "headers"]
section = ["html"]
[params]
googleAnalytics = "GTM-NTQ87KG"
imgproxy = "/imgproxy/"
title = "Spotlight PA"
logo = "/img/logos/circle-black-on-trans-920.png"
favicon = "/img/logos/favicon.svg"
touch-icon = "/img/logos/square-white-on-black-920.png"
images = ["2019/11/banner-white-on-capitol.jpeg"]
description = "The mission of Spotlight PA is to hold powerful private and public forces across Pennsylvania — especially government, business and special interests — to account through urgent and compelling investigative journalism that leads to change and the betterment of democracy, the state and all who live here."
headers = ["X-Frame-Options: DENY"]
newsletters-action = "https://email-alerts.data.spotlightpa.org/api/subscribe-v2"
[security.exec]
allow = [
'^dart-sass-embedded$',
'^go$',
'^npx$',
'^postcss$',
'^babel$',
'^git$',
]
[security.funcs]
getenv = ["^HUGO_", "^IMGPROXY_URL$"]
[build]
[build.buildStats]
disableClasses = false
disableIDs = true
disableTags = false
enable = true
[[build.cachebusters]]
source = "assets/watching/hugo_stats\\.json"
target = "css"
[[build.cachebusters]]
source = "(postcss|tailwind)\\.config\\.js"
target = "css"
[[build.cachebusters]]
source = "assets/.*\\.(js|ts|jsx|tsx)"
target = "js"
[[build.cachebusters]]
source = "assets/.*\\.(.*)$"
target = "$1"
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]]
source = "hugo_stats.json"
target = "assets/watching/hugo_stats.json"
[[module.mounts]]
source = "src"
target = "assets/js"
[[module.mounts]]
source = "node_modules/@fortawesome/fontawesome-free/svgs"
target = "assets/@fontawesome"
[[module.mounts]]
source = "static"
target = "static"
[related]
includeNewer = true
[[related.indices]]
name = "series"
weight = 200
[[related.indices]]
name = "topic"
weight = 200
[[related.indices]]
name = "title"
weight = 150
[[related.indices]]
name = "date"
weight = 150
[[related.indices]]
name = "kicker"
weight = 100
[[related.indices]]
name = "authors"
weight = 100