Herstructureren van instellingen, consistentie en taal
This commit is contained in:
parent
9fbd20e517
commit
e24030122e
84
config.toml
84
config.toml
|
@ -1,23 +1,30 @@
|
||||||
baseURL = 'https://www3.nluug.nl/'
|
# Configuratie voor de website
|
||||||
languageCode = 'nl'
|
|
||||||
title = 'NLUUG'
|
|
||||||
theme = 'nluug'
|
|
||||||
|
|
||||||
languagecode = "nl"
|
baseURL = "https://www3.nluug.nl/"
|
||||||
|
languageCode = "nl"
|
||||||
defaultcontentlanguage = "nl"
|
defaultcontentlanguage = "nl"
|
||||||
|
title = "NLUUG"
|
||||||
|
theme = "nluug"
|
||||||
|
|
||||||
|
|
||||||
[permalinks]
|
|
||||||
pages = "/:slug"
|
|
||||||
|
|
||||||
[params]
|
[markup]
|
||||||
logo = '/assets/favicon.ico'
|
[markup.goldmark.renderer]
|
||||||
description = "NLUUG website met de doelstellingen, laatste nieuws en evenementen van onze vereniging."
|
unsafe = true
|
||||||
# Fallback-auteur voor posts die geen echte auteur hebben
|
[markup.highlight]
|
||||||
author = 'NLUUG'
|
anchorLineNos = false
|
||||||
# Datum-formaat en tijdzone
|
codeFences = true
|
||||||
dateFormat = "02-01-2006"
|
guessSyntax = false
|
||||||
timeZone = "Europe/Amsterdam"
|
hl_Lines = ''
|
||||||
|
hl_inline = false
|
||||||
|
lineAnchors = ''
|
||||||
|
lineNoStart = 1
|
||||||
|
lineNos = false
|
||||||
|
lineNumbersInTable = true
|
||||||
|
noClasses = true
|
||||||
|
noHl = false
|
||||||
|
style = 'monokailight'
|
||||||
|
tabWidth = 4
|
||||||
|
|
||||||
[menu]
|
[menu]
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
|
@ -52,30 +59,6 @@ defaultcontentlanguage = "nl"
|
||||||
url = "/contact/"
|
url = "/contact/"
|
||||||
weight = 50
|
weight = 50
|
||||||
|
|
||||||
[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
|
|
||||||
|
|
||||||
[social]
|
|
||||||
twitter = "NLUUG"
|
|
||||||
|
|
||||||
[taxonomies]
|
|
||||||
tag = "tags"
|
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
home = ["HTML", "RSS", "JSON"]
|
home = ["HTML", "RSS", "JSON"]
|
||||||
section = ["HTML"]
|
section = ["HTML"]
|
||||||
|
@ -97,8 +80,18 @@ defaultcontentlanguage = "nl"
|
||||||
# mediaType = "application/xml"
|
# mediaType = "application/xml"
|
||||||
# baseName = "schedule"
|
# 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"
|
||||||
|
|
||||||
#ignoreErrors = ["error-remote-getjson"]
|
[permalinks]
|
||||||
|
pages = "/:slug"
|
||||||
|
|
||||||
[security]
|
[security]
|
||||||
enableInlineShortcodes = false
|
enableInlineShortcodes = false
|
||||||
|
@ -114,5 +107,16 @@ defaultcontentlanguage = "nl"
|
||||||
methods = ['(?i)GET|POST']
|
methods = ['(?i)GET|POST']
|
||||||
urls = ['.*']
|
urls = ['.*']
|
||||||
|
|
||||||
|
[social]
|
||||||
|
twitter = "NLUUG"
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
tag = "tags"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ignoreErrors = ["error-remote-getjson"]
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{{ $currentLang := $.Site.Language.Lang }}
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="{{ $currentLang | default "nl" }}">
|
<html{{ with site.LanguageCode | default site.Language.Lang }} lang="{{ . }}"{{ end }}>
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
<body>
|
<body>
|
||||||
<a class="skip-link" href="#main">Ga naar hoofd</a>
|
<a class="skip-link" href="#main">Ga naar hoofd</a>
|
||||||
|
|
Reference in a new issue