-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.toml
97 lines (77 loc) · 1.82 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#
# Core configuration
#
baseURL = "/"
languageCode = "en-gb"
DefaultContentLanguage = "en"
enableMissingTranslationPlaceholders = "true"
defaultContentLanguageInSubdir = "true"
rssLimit = 100
Paginate = 20
theme = "hugo-bootstrap"
# Google analytics
googleAnalytics = "UA-7571526-1"
# Use this to allow raw HTML in the pages:
[markup.goldmark.renderer]
unsafe = true
# Set up ukwa prefix (legacy of original deployment but that's the URLs we have)
[permalinks]
info = '/ukwa/info/:filename/'
# Used to clean up links if we're using static site generation for targets/collections
target = '/ukwa/target/:slug/'
collection = '/ukwa/collection/:slug/'
[params]
mainSections = ["ukwa", "info"]
#
# Internationalisation
#
# Site titles defined here, everything else is in ./i18n/* files.
#
[languages]
[languages.en]
languageName = "English"
title = "The UK Web Archive"
weight = 1
[languages.cy]
languageName = "Cymraeg"
title = "Archif We y DG"
weight = 2
[languages.gd]
languageName = "Gàidhlig"
title = "Dachaigh UKWA"
weight = 3
#
# Menus
#
[[menu.main]]
name = "home"
url = "/ukwa/"
weight = 1
[[menu.main]]
name = "collectionsTitle"
url = "/ukwa/collection/"
weight = 2
[[menu.main]]
name = "saveAUkWebsite"
url = "/ukwa/info/nominate"
weight = 3
[[menu.main]]
name = "aboutUs"
url = "/ukwa/info/about"
weight = 4
[[menu.main]]
name = "contactUs"
url = "/ukwa/contact"
weight = 5
#
# Related Content
# (used here to allow back-references to be resolved)
#
[related]
threshold = 40 # n.b. the default of 80 did not work, and references were not found.
includeNewer = true
toLower = false
# Ensures the target_ids listed under a Collection can be known to the Target.
[[related.indices]]
name = "target_ids"
weight = 100