Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-doc
Path: blob/main/website/hugo.toml
18080 views
1
# FreeBSD website
2
3
baseURL = "https://www.freebsd.org/"
4
title = "The FreeBSD Project"
5
copyright = "BSD 2-clause 'Simplified' License"
6
DefaultContentLanguage = "en"
7
defaultContentLanguageInSubdir = false
8
theme = "beastie"
9
disableKinds = [ "taxonomy" ]
10
disablePathToLower = true
11
authors = [ "[email protected]" ]
12
ignoreFiles = [ "\\.po$" ]
13
enableRobotsTXT = true
14
enableGitInfo = true
15
preserveTOC = true
16
17
[markup.asciidocExt]
18
preserveTOC = true
19
extensions = ["man-macro", "inter-document-references-macro", "sectnumoffset-treeprocessor", "packages-macro", "git-macro"]
20
21
[security]
22
allowContent = ['^text/html$', '^text/asciidoc$']
23
enableInlineShortcodes = false
24
[security.exec]
25
allow = ["^dart-sass-embedded$", "^go$", "^git$", "^npx$", "^postcss$", "^asciidoctor$"]
26
osEnv = ["(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|LOAD_PATH|RUBYLIB)$"]
27
[security.funcs]
28
getenv = ["^HUGO_"]
29
[security.http]
30
methods = ["(?i)GET|POST"]
31
urls = [".*"]
32
33
staticDir = ["static", "shared"]
34
35
[outputs]
36
home = [ "HTML" ]
37
page = [ "HTML" ]
38
section = [ "HTML", "RSS", "Calendar" ]
39
40
[outputFormats]
41
[outputFormats.Calendar]
42
BaseName = "calendar"
43
IsHTML = true
44
IsPlainText = false
45
46
[outputFormats.RSS]
47
MediaType = "application/rss+xml"
48
BaseName = "feed"
49
IsHTML = true
50
IsPlainText = false
51
noUgly = true
52
Rel = "alternate"
53
54
[languages]
55
[languages.en]
56
contentDir = "content/en"
57
label = "English"
58
weight = 1
59
[languages.ru]
60
contentDir = "content/ru"
61
label = "Russian"
62
weight = 2
63
[languages.zh-tw]
64
contentDir = "content/zh-tw"
65
label = "繁體中文"
66
weight = 3
67
68