Migreren van config.toml-configuratiebestand naar config-directory
This commit is contained in:
		
							parent
							
								
									f012b9957a
								
							
						
					
					
						commit
						d3368be921
					
				
					 20 changed files with 301 additions and 122 deletions
				
			
		
							
								
								
									
										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
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue