forked from webosose/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.toml
80 lines (64 loc) · 1.75 KB
/
hugo.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
baseURL = "https://www.webosose.org"
title = "webOS Open Source Edition"
enableRobotsTXT = true
contentDir = "content/en"
disableKinds = ["taxonomy", "taxonomyTerm"]
# Syntax Highlighting
pygmentsUseClassic = false
pygmentsCodeFences = true
pygmentsUseClasses = false
# See https://xyproto.github.io/splash/docs/longer/all.html
pygmentsStyle = "friendly"
[markup]
[markup.goldmark]
[markup.goldmark.parser]
autoHeadingIDType = "blackfriday"
[markup.goldmark.renderer]
unsafe = true
[outputs]
home = [ "HTML" ]
page = [ "HTML" ]
section = [ "HTML" ]
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"
samples = "/:section/:year/:month/:day/:slug/"
# See https://gohugo.io/content-management/menus/
[menu]
[[menu.main]]
identifier = "about"
name = "about"
url = "/about/"
weight = -140
[[menu.main]]
identifier = "docs"
name = "docs"
url = "/docs/"
weight = -130
[[menu.main]]
identifier = "blog"
name = "blog"
url = "/blog/"
weight = -120
[[menu.main]]
identifier = "samples"
name = "samples"
url = "/samples/"
weight = -110
[[menu.main]]
identifier = "community"
name = "community"
url = "/community/"
weight = -100
[params]
time_format = "January 02, 2006"
# Security configuration from https://github.com/gohugoio/hugo/releases/tag/v0.91.0
[security]
enableInlineShortcodes = false
[security.exec]
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']
osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']
[security.funcs]
getenv = ['^HUGO_', '^SEARCH_'] # See https://answers.netlify.com/t/failed-to-deploy-website-command-failed-with-exit-code-255/83002/2
[security.http]
methods = ['(?i)GET|POST']
urls = ['.*']