init
This commit is contained in:
119
config/_default/hugo.toml
Executable file
119
config/_default/hugo.toml
Executable file
@@ -0,0 +1,119 @@
|
||||
######################## default configuration ####################
|
||||
baseURL = "/"
|
||||
title = "Mantelzorgwoning informatie"
|
||||
theme = "godocs-1"
|
||||
# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
|
||||
timeZone = "Europe/Amsterdam"
|
||||
# google analytics
|
||||
# googleAnalytics = "G-MEASUREMENT_ID" # example: UA-123456-78, for more info, read the article https://support.google.com/analytics/answer/1008080?hl=en
|
||||
# disqus short name
|
||||
# disqusShortname = "themefisher-template" # we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/
|
||||
# disable language
|
||||
defaultContentLanguage = "nl"
|
||||
defaultContentLanguageInSubdir = false
|
||||
disableLanguages = [] # example: ["fr"] for disable french language. see https://gohugo.io/content-management/multilingual/
|
||||
hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage
|
||||
|
||||
################################### English language #####################################
|
||||
[Languages.nl]
|
||||
languageName = "🇳🇱 Nederlands"
|
||||
languageCode = "nl-nl"
|
||||
weight = 1
|
||||
|
||||
################################### English language #####################################
|
||||
[Languages.en]
|
||||
languageName = "🇬🇧 English"
|
||||
languageCode = "en-us"
|
||||
weight = 2
|
||||
disabled = true
|
||||
|
||||
################################### French language #####################################
|
||||
[Languages.fr]
|
||||
languageName = "🇫🇷 Français"
|
||||
languageCode = "fr-fr"
|
||||
weight = 3
|
||||
disabled = true
|
||||
|
||||
############################# Modules ############################
|
||||
[module]
|
||||
[[module.mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
|
||||
[[module.mounts]]
|
||||
source = "hugo_stats.json"
|
||||
target = "assets/watching/hugo_stats.json"
|
||||
|
||||
[markup.goldmark.parser.attribute]
|
||||
block = true # default is false
|
||||
|
||||
############################# Build ##############################
|
||||
[build]
|
||||
noJSConfigInAssets = false
|
||||
useResourceCacheWhen = 'fallback'
|
||||
[build.buildStats]
|
||||
enable = true
|
||||
[[build.cachebusters]]
|
||||
source = 'assets/.*\.(js|ts|jsx|tsx)'
|
||||
target = '(js|scripts|javascript)'
|
||||
[[build.cachebusters]]
|
||||
source = 'assets/.*\.(css|sass|scss)$'
|
||||
target = '(css|styles|scss|sass)'
|
||||
[[build.cachebusters]]
|
||||
source = '(postcss|tailwind)\.config\.js'
|
||||
target = '(css|styles|scss|sass)'
|
||||
[[build.cachebusters]]
|
||||
source = 'assets/.*\.(.*)$'
|
||||
target = '$1'
|
||||
|
||||
############################# Outputs ##############################
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON", "WebAppManifest"]
|
||||
|
||||
############################# Imaging ##############################
|
||||
[imaging]
|
||||
# See https://github.com/disintegration/imaging
|
||||
# Default JPEG or WebP quality setting. Default is 75.
|
||||
quality = 90
|
||||
resampleFilter = "Lanczos"
|
||||
|
||||
############################# Caches ###############################
|
||||
[caches]
|
||||
[caches.images]
|
||||
dir = ":resourceDir/_gen"
|
||||
maxAge = "720h"
|
||||
|
||||
[caches.assets]
|
||||
dir = ":resourceDir/_gen"
|
||||
maxAge = "720h"
|
||||
|
||||
|
||||
############################# Markup ###############################
|
||||
[markup]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[markup.highlight]
|
||||
style = 'base16-snazzy' # see https://xyproto.github.io/splash/docs/all.html
|
||||
|
||||
# table of content
|
||||
[markup.tableOfContents]
|
||||
startLevel = 0
|
||||
endLevel = 6
|
||||
ordered = false
|
||||
|
||||
############################ Media types ############################
|
||||
[mediaTypes]
|
||||
[mediaTypes."application/manifest+json"]
|
||||
suffixes = ["webmanifest"]
|
||||
|
||||
############################ Output Format ###########################
|
||||
[outputFormats]
|
||||
[outputFormats.WebAppManifest]
|
||||
mediaType = "application/manifest+json"
|
||||
rel = "manifest"
|
||||
|
||||
############################ Partner #################################
|
||||
[params]
|
||||
partnerName = "Domuscura"
|
||||
partnerDomain = "domuscura.start-it.nl"
|
||||
Reference in New Issue
Block a user