Migreren van config.toml-configuratiebestand naar config-directory
This commit is contained in:
parent
f012b9957a
commit
d3368be921
122
config.toml
122
config.toml
|
@ -1,122 +0,0 @@
|
||||||
# Configuratie voor de website
|
|
||||||
|
|
||||||
baseURL = "https://www3.nluug.nl/"
|
|
||||||
languageCode = "nl"
|
|
||||||
defaultContentLanguage = "nl"
|
|
||||||
title = "NLUUG"
|
|
||||||
theme = "nluug"
|
|
||||||
enableGitInfo = true
|
|
||||||
disableHugoGeneratorInject = true
|
|
||||||
|
|
||||||
[markup]
|
|
||||||
[markup.goldmark.renderer]
|
|
||||||
unsafe = true
|
|
||||||
[markup.highlight]
|
|
||||||
anchorLineNos = false
|
|
||||||
codeFences = true
|
|
||||||
guessSyntax = false
|
|
||||||
hl_Lines = ''
|
|
||||||
hl_inline = false
|
|
||||||
lineAnchors = ''
|
|
||||||
lineNoStart = 1
|
|
||||||
lineNos = false
|
|
||||||
lineNumbersInTable = true
|
|
||||||
noClasses = true
|
|
||||||
noHl = false
|
|
||||||
style = 'monokailight'
|
|
||||||
tabWidth = 4
|
|
||||||
|
|
||||||
[menu]
|
|
||||||
[[menu.main]]
|
|
||||||
identifier = "organisatie"
|
|
||||||
name = "Organisatie"
|
|
||||||
url = "/organisatie/"
|
|
||||||
weight = 10
|
|
||||||
[[menu.main]]
|
|
||||||
identifier = "evenementen"
|
|
||||||
name = "Evenementen"
|
|
||||||
url = "/evenementen/"
|
|
||||||
weight = 20
|
|
||||||
[[menu.main]]
|
|
||||||
identifier = "evenementen-kalender"
|
|
||||||
name = "Kalender"
|
|
||||||
url = "/evenementen/kalender/"
|
|
||||||
parent = "evenementen"
|
|
||||||
weight = 21
|
|
||||||
[[menu.main]]
|
|
||||||
identifier = "lidmaatschap"
|
|
||||||
name = "Lidmaatschap"
|
|
||||||
url = "/lidmaatschap/"
|
|
||||||
weight = 30
|
|
||||||
[[menu.main]]
|
|
||||||
identifier = "nieuws"
|
|
||||||
name = "Nieuws"
|
|
||||||
url = "/nieuws/"
|
|
||||||
weight = 40
|
|
||||||
[[menu.main]]
|
|
||||||
identifier = "contact"
|
|
||||||
name = "Contact"
|
|
||||||
url = "/contact/"
|
|
||||||
weight = 50
|
|
||||||
|
|
||||||
[outputs]
|
|
||||||
home = ["HTML", "RSS", "JSON"]
|
|
||||||
section = ["HTML"]
|
|
||||||
page = ["HTML", "CalendarEvent"]
|
|
||||||
|
|
||||||
[outputFormats.RSS]
|
|
||||||
mediatype = "application/rss"
|
|
||||||
baseName = "atom"
|
|
||||||
|
|
||||||
[outputFormats.JSON]
|
|
||||||
mediatype = "application/json"
|
|
||||||
baseName = "feed"
|
|
||||||
|
|
||||||
[outputFormats.CalendarEvent]
|
|
||||||
mediaType = "text/calendar"
|
|
||||||
baseName = "calendar"
|
|
||||||
|
|
||||||
#[outputFormats.XMLEvent]
|
|
||||||
# mediaType = "application/xml"
|
|
||||||
# baseName = "schedule"
|
|
||||||
|
|
||||||
[params]
|
|
||||||
description = "NLUUG website met de doelstellingen, laatste nieuws en evenementen van onze vereniging."
|
|
||||||
# Fallback-auteur voor posts die geen echte auteur hebben
|
|
||||||
author = "NLUUG"
|
|
||||||
# Datum-formaat en tijdzone, de gebruikte waardes in datum en tijd zijn van belang
|
|
||||||
dateFormat = "02-01-2006"
|
|
||||||
timeZone = "Europe/Amsterdam"
|
|
||||||
# Grafisch
|
|
||||||
logo = "/assets/favicon.ico"
|
|
||||||
|
|
||||||
[permalinks]
|
|
||||||
pages = "/:slug"
|
|
||||||
|
|
||||||
[security]
|
|
||||||
enableInlineShortcodes = false
|
|
||||||
|
|
||||||
[security.exec]
|
|
||||||
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^rst2html$']
|
|
||||||
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|RUBYLIB|SNAP)$']
|
|
||||||
|
|
||||||
[security.funcs]
|
|
||||||
getenv = ['^HUGO_', '^CI$']
|
|
||||||
|
|
||||||
[security.http]
|
|
||||||
methods = ['(?i)GET|POST']
|
|
||||||
urls = ['.*']
|
|
||||||
|
|
||||||
[social]
|
|
||||||
twitter = "NLUUG"
|
|
||||||
|
|
||||||
[taxonomies]
|
|
||||||
tag = "tags"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ignoreErrors = ["error-remote-getjson"]
|
|
||||||
|
|
||||||
# EOF
|
|
11
config/_default/hugo.toml
Normal file
11
config/_default/hugo.toml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Basisconfiguratie voor de website
|
||||||
|
|
||||||
|
baseURL = "https://www3.nluug.nl/"
|
||||||
|
languageCode = "nl"
|
||||||
|
defaultContentLanguage = "nl"
|
||||||
|
title = "NLUUG"
|
||||||
|
theme = "nluug"
|
||||||
|
enableGitInfo = true
|
||||||
|
disableHugoGeneratorInject = true
|
||||||
|
|
||||||
|
# EOF
|
20
config/_default/markup.toml
Normal file
20
config/_default/markup.toml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Configuratie voor highlighting snippets e.d.
|
||||||
|
|
||||||
|
[markup.goldmark.renderer]
|
||||||
|
unsafe = true
|
||||||
|
[markup.highlight]
|
||||||
|
anchorLineNos = false
|
||||||
|
codeFences = true
|
||||||
|
guessSyntax = false
|
||||||
|
hl_Lines = ''
|
||||||
|
hl_inline = false
|
||||||
|
lineAnchors = ''
|
||||||
|
lineNoStart = 1
|
||||||
|
lineNos = false
|
||||||
|
lineNumbersInTable = true
|
||||||
|
noClasses = true
|
||||||
|
noHl = false
|
||||||
|
style = 'monokailight'
|
||||||
|
tabWidth = 4
|
||||||
|
|
||||||
|
# EOF
|
49
config/_default/menus.toml
Normal file
49
config/_default/menus.toml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# Menu-configuratie
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "organisatie"
|
||||||
|
name = "Organisatie"
|
||||||
|
url = "/organisatie/"
|
||||||
|
weight = 10
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "evenementen"
|
||||||
|
name = "Evenementen"
|
||||||
|
url = "/evenementen/"
|
||||||
|
weight = 20
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "evenementen-kalender"
|
||||||
|
name = "Kalender"
|
||||||
|
url = "/evenementen/kalender/"
|
||||||
|
parent = "evenementen"
|
||||||
|
weight = 21
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "lidmaatschap"
|
||||||
|
name = "Lidmaatschap"
|
||||||
|
url = "/lidmaatschap/"
|
||||||
|
weight = 30
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "nieuws"
|
||||||
|
name = "Nieuws"
|
||||||
|
url = "/nieuws/"
|
||||||
|
weight = 40
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "contact"
|
||||||
|
name = "Contact"
|
||||||
|
url = "/contact/"
|
||||||
|
weight = 50
|
||||||
|
|
||||||
|
[[footer]]
|
||||||
|
name = 'Terms'
|
||||||
|
pageRef = '/terms'
|
||||||
|
weight = 10
|
||||||
|
[[footer]]
|
||||||
|
name = 'Privacy'
|
||||||
|
pageRef = '/privacy'
|
||||||
|
weight = 20
|
||||||
|
|
||||||
|
# EOF
|
22
config/_default/outputformats.toml
Normal file
22
config/_default/outputformats.toml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Configuratie tbv exporteerde formaten
|
||||||
|
|
||||||
|
# RSS-feed (Atom)
|
||||||
|
[RSS]
|
||||||
|
mediatype = "application/rss"
|
||||||
|
baseName = "atom"
|
||||||
|
|
||||||
|
# JSON Feed, index.json
|
||||||
|
[JSON]
|
||||||
|
mediatype = "application/json"
|
||||||
|
baseName = "feed"
|
||||||
|
|
||||||
|
# CalendarEvent genereerd een iCal-bestand voor evenementen
|
||||||
|
[CalendarEvent]
|
||||||
|
mediaType = "text/calendar"
|
||||||
|
baseName = "calendar"
|
||||||
|
|
||||||
|
#[outputFormats.XMLEvent]
|
||||||
|
# mediaType = "application/xml"
|
||||||
|
# baseName = "schedule"
|
||||||
|
|
||||||
|
# EOF
|
9
config/_default/outputs.toml
Normal file
9
config/_default/outputs.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Configuratie tbv exporteerde formaten
|
||||||
|
|
||||||
|
# Voor de home-page maken we een HTML, RSS en JSON Feed
|
||||||
|
# Secties alleen in HTML en voor pagina's in zowel HTML als CalendarEvent (iCAL) waar het van toepassing is
|
||||||
|
home = ["HTML", "RSS", "JSON"]
|
||||||
|
section = ["HTML"]
|
||||||
|
page = ["HTML", "CalendarEvent"]
|
||||||
|
|
||||||
|
# EOF
|
13
config/_default/params.toml
Normal file
13
config/_default/params.toml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Aanvullende velden die we binnen de website gebruiken
|
||||||
|
|
||||||
|
[params]
|
||||||
|
description = "NLUUG website met de doelstellingen, laatste nieuws en evenementen van onze vereniging."
|
||||||
|
# Fallback-auteur voor posts die geen echte auteur hebben
|
||||||
|
author = "NLUUG"
|
||||||
|
# Datum-formaat en tijdzone, de gebruikte waardes in datum en tijd zijn van belang
|
||||||
|
dateFormat = "02-01-2006"
|
||||||
|
timeZone = "Europe/Amsterdam"
|
||||||
|
# Grafisch
|
||||||
|
logo = "/assets/favicon.ico"
|
||||||
|
|
||||||
|
# EOF
|
6
config/_default/permalinks.toml
Normal file
6
config/_default/permalinks.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Configuratie voor URL-opbouw
|
||||||
|
|
||||||
|
#[permalinks]
|
||||||
|
pages = "/:slug"
|
||||||
|
|
||||||
|
# EOF
|
16
config/_default/security.toml
Normal file
16
config/_default/security.toml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Configuratie tbv extra beveiliging en toegestane functies tijdens render en testen
|
||||||
|
|
||||||
|
enableInlineShortcodes = false
|
||||||
|
|
||||||
|
[exec]
|
||||||
|
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^rst2html$']
|
||||||
|
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|RUBYLIB|SNAP)$']
|
||||||
|
|
||||||
|
[funcs]
|
||||||
|
getenv = ['^HUGO_', '^CI$']
|
||||||
|
|
||||||
|
[http]
|
||||||
|
methods = ['(?i)GET|POST']
|
||||||
|
urls = ['.*']
|
||||||
|
|
||||||
|
# EOF
|
5
config/_default/social.toml
Normal file
5
config/_default/social.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Configuratie voor de gebruikte social media binnen de website
|
||||||
|
|
||||||
|
twitter = "NLUUG"
|
||||||
|
|
||||||
|
# EOF
|
5
config/_default/taxonomies.toml
Normal file
5
config/_default/taxonomies.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Configuratie voor het aanmaken van category-/tags-pagina's
|
||||||
|
|
||||||
|
tag = "tags"
|
||||||
|
|
||||||
|
# EOF
|
11
config/disabled/hugo.toml
Normal file
11
config/disabled/hugo.toml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Basisconfiguratie voor de website
|
||||||
|
|
||||||
|
baseURL = "https://www3.nluug.nl/"
|
||||||
|
languageCode = "nl"
|
||||||
|
defaultContentLanguage = "nl"
|
||||||
|
title = "NLUUG"
|
||||||
|
theme = "nluug"
|
||||||
|
enableGitInfo = true
|
||||||
|
disableHugoGeneratorInject = true
|
||||||
|
|
||||||
|
# EOF
|
21
config/disabled/markup.toml
Normal file
21
config/disabled/markup.toml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Configuratie voor highlighting snippets e.d.
|
||||||
|
|
||||||
|
[markup]
|
||||||
|
[markup.goldmark.renderer]
|
||||||
|
unsafe = true
|
||||||
|
[markup.highlight]
|
||||||
|
anchorLineNos = false
|
||||||
|
codeFences = true
|
||||||
|
guessSyntax = false
|
||||||
|
hl_Lines = ''
|
||||||
|
hl_inline = false
|
||||||
|
lineAnchors = ''
|
||||||
|
lineNoStart = 1
|
||||||
|
lineNos = false
|
||||||
|
lineNumbersInTable = true
|
||||||
|
noClasses = true
|
||||||
|
noHl = false
|
||||||
|
style = 'monokailight'
|
||||||
|
tabWidth = 4
|
||||||
|
|
||||||
|
# EOF
|
36
config/disabled/menu.toml
Normal file
36
config/disabled/menu.toml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# Menu-configuratie
|
||||||
|
|
||||||
|
[menu]
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "organisatie"
|
||||||
|
name = "Organisatie"
|
||||||
|
url = "/organisatie/"
|
||||||
|
weight = 10
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "evenementen"
|
||||||
|
name = "Evenementen"
|
||||||
|
url = "/evenementen/"
|
||||||
|
weight = 20
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "evenementen-kalender"
|
||||||
|
name = "Kalender"
|
||||||
|
url = "/evenementen/kalender/"
|
||||||
|
parent = "evenementen"
|
||||||
|
weight = 21
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "lidmaatschap"
|
||||||
|
name = "Lidmaatschap"
|
||||||
|
url = "/lidmaatschap/"
|
||||||
|
weight = 30
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "nieuws"
|
||||||
|
name = "Nieuws"
|
||||||
|
url = "/nieuws/"
|
||||||
|
weight = 40
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "contact"
|
||||||
|
name = "Contact"
|
||||||
|
url = "/contact/"
|
||||||
|
weight = 50
|
||||||
|
|
||||||
|
# EOF
|
29
config/disabled/outputs.toml
Normal file
29
config/disabled/outputs.toml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Configuratie tbv exporteerde formaten
|
||||||
|
|
||||||
|
# Voor de home-page maken we een HTML, RSS en JSON Feed
|
||||||
|
# Secties alleen in HTML en voor pagina's in zowel HTML als CalendarEvent (iCAL) waar het van toepassing is
|
||||||
|
[outputs]
|
||||||
|
home = ["HTML", "RSS", "JSON"]
|
||||||
|
section = ["HTML"]
|
||||||
|
page = ["HTML", "CalendarEvent"]
|
||||||
|
|
||||||
|
# RSS-feed (Atom)
|
||||||
|
[outputFormats.RSS]
|
||||||
|
mediatype = "application/rss"
|
||||||
|
baseName = "atom"
|
||||||
|
|
||||||
|
# JSON Feed, index.json
|
||||||
|
[outputFormats.JSON]
|
||||||
|
mediatype = "application/json"
|
||||||
|
baseName = "feed"
|
||||||
|
|
||||||
|
# CalendarEvent genereerd een iCal-bestand voor evenementen
|
||||||
|
[outputFormats.CalendarEvent]
|
||||||
|
mediaType = "text/calendar"
|
||||||
|
baseName = "calendar"
|
||||||
|
|
||||||
|
#[outputFormats.XMLEvent]
|
||||||
|
# mediaType = "application/xml"
|
||||||
|
# baseName = "schedule"
|
||||||
|
|
||||||
|
# EOF
|
13
config/disabled/params.toml
Normal file
13
config/disabled/params.toml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Aanvullende velden die we binnen de website gebruiken
|
||||||
|
|
||||||
|
[params]
|
||||||
|
description = "NLUUG website met de doelstellingen, laatste nieuws en evenementen van onze vereniging."
|
||||||
|
# Fallback-auteur voor posts die geen echte auteur hebben
|
||||||
|
author = "NLUUG"
|
||||||
|
# Datum-formaat en tijdzone, de gebruikte waardes in datum en tijd zijn van belang
|
||||||
|
dateFormat = "02-01-2006"
|
||||||
|
timeZone = "Europe/Amsterdam"
|
||||||
|
# Grafisch
|
||||||
|
logo = "/assets/favicon.ico"
|
||||||
|
|
||||||
|
# EOF
|
6
config/disabled/permalinks.toml
Normal file
6
config/disabled/permalinks.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Configuratie voor URL-opbouw
|
||||||
|
|
||||||
|
[permalinks]
|
||||||
|
pages = "/:slug"
|
||||||
|
|
||||||
|
# EOF
|
17
config/disabled/security.toml
Normal file
17
config/disabled/security.toml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Configuratie tbv extra beveiliging en toegestane functies tijdens render en testen
|
||||||
|
|
||||||
|
[security]
|
||||||
|
enableInlineShortcodes = false
|
||||||
|
|
||||||
|
[security.exec]
|
||||||
|
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^rst2html$']
|
||||||
|
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|RUBYLIB|SNAP)$']
|
||||||
|
|
||||||
|
[security.funcs]
|
||||||
|
getenv = ['^HUGO_', '^CI$']
|
||||||
|
|
||||||
|
[security.http]
|
||||||
|
methods = ['(?i)GET|POST']
|
||||||
|
urls = ['.*']
|
||||||
|
|
||||||
|
# EOF
|
6
config/disabled/social.toml
Normal file
6
config/disabled/social.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Configuratie voor de gebruikte social media binnen de website
|
||||||
|
|
||||||
|
[social]
|
||||||
|
twitter = "NLUUG"
|
||||||
|
|
||||||
|
# EOF
|
6
config/disabled/taxonomies.toml
Normal file
6
config/disabled/taxonomies.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Configuratie voor het aanmaken van category-/tags-pagina's
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
tag = "tags"
|
||||||
|
|
||||||
|
# EOF
|
Reference in a new issue