-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
76 lines (61 loc) · 1.34 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
baseURL = "https://3scale-labs.github.io/kamrad" # Replace with the URL where your Dev Portal will be deployed
languageCode = "en-us"
# Theme
theme = ["kamrad-shortcodes", "smol"]
# Taxonomies
[taxonomies]
spec_ref = "specs_refs"
# Permalinks
[permalinks]
specs_refs = "/spec/:title"
## Parameters
[params]
subtitle = "Kamrad, the Kuadrant's developer portal"
dateFmt = "11.05.2021 15:51"
kamwielURL = "https://kamwiel.eu.ngrok.io" # Replace with the URL of your Kuadrant cluster
[outputs]
home = [ "HTML", "RSS", "JSON"]
## Header
[menu]
[[menu.main]]
identifier = "about"
name = "About"
url = "/about"
weight = 1
[[menu.main]]
identifier = "docs"
name = "Docs"
url = "/docs/"
weight = 2
[[menu.main]]
identifier = "specs"
name = "Specs"
url = "/specs"
weight = 3
## Footer
[[menu.footer]]
name = "Github"
url = "https://github.com/3scale-labs/kamrad"
weight = 1
# I18N
DefaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
[languages]
[languages.en]
title = "Kamrad"
languageName = "English"
weight = 1
# Build
[build]
noJSConfigInAssets = true
# Security
[security]
enableInlineShortcodes = false
[security.exec]
allow = ['^babel$', '^go$', '^npx$', '^postcss$']
osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']
[security.funcs]
getenv = ['^HUGO_']
[security.http]
methods = ['(?i)GET|POST']
urls = ['.*']