-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
48 lines (43 loc) · 1.27 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
baseURL = "https://ravron.com/"
languageCode = "en-us"
title = "Riley Avron"
pygmentsStyle = "friendly"
pygmentsCodeFences = true
pygmentsUseClasses = true
preserveTaxonomyNames = true
disableKinds = ["RSS", "sitemap"]
[params]
faviconfile = "/favicon-32x32.png"
dateformatpretty = "2006-01-02"
[author]
name = "Riley Avron"
repo = "ravron/ravron.com"
email = "[email protected]"
github = "ravron"
stackoverflow = "1292061"
[taxonomies]
category = "categories"
[permalinks]
posts = "/:year/:month/:title"
# https://gohugo.io/getting-started/configuration/#configure-server
[server]
[[server.headers]]
for = "/*"
[server.headers.values]
# script-src set to 'self' rather than 'none' as in production to allow
# the hot-reload script Hugo injects.
Content-Security-Policy = """\
default-src 'none'; \
img-src 'self'; \
style-src 'self'; \
block-all-mixed-content; \
frame-ancestors 'none'; \
base-uri 'none'; \
form-action 'none'; \
script-src 'self'; \
connect-src 'self';\
"""
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "same-origin"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"