-
Notifications
You must be signed in to change notification settings - Fork 74
/
config.toml
53 lines (44 loc) · 1.38 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
baseURL = "https://altinn.github.io/docs/"
languageCode = "nb"
defaultContentLanguage = "nb"
contentDir = "content"
staticDir = "static"
publishDir = "public"
title = "Altinn docs"
theme = "hugo-theme-altinn"
metadataFormat = "yaml"
pluralizeListTitles = false
preservetaxonomynames = true
enableEmoji = true
enableGitInfo = false
disableKinds = ["RSS"] # page home section taxonomy taxonomyTerm RSS sitemap robotsTXT 404
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
style = "dracula"
[markup.tableOfContents]
startLevel = 2
endLevel = 2
ordered = false
[blackfriday]
fractions = false # disable automatic fraction rendering
[params]
editURL = "https://github.com/altinn/docs/blob/master/content/"
noHomeIcon = true # default is false
noSearch = false # default is false
disableNavChevron = false
showVisitedLinks = false # default is false
# themeVariant = "gray" # choose theme variant "gray" for systemdocumentation, like Altinnpedia. Blue theme is for altinndigitalisering.
[outputs]
home = ["HTML", "JSON"] # JSON generates index.json file used by search
[related]
includeNewer = true # Excluding newer content is not relevant for our site.
threshold = 80 # Range 0-100
toLower = false
[[related.indices]]
name = 'keywords'
weight = 100
toLower = true
[[related.indices]]
name = 'tags' # Tags are included by default with weight 80, as long as tags are set up as a taxonomy.
weight = 80