97 lines
3.1 KiB
TOML
97 lines
3.1 KiB
TOML
######################## default configuration ####################
|
|
baseURL = "https://start-it.nl/"
|
|
title = "StartIT - Slimme IT zonder fratsen"
|
|
theme = "agico-hugo"
|
|
# 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"
|
|
# post pagination
|
|
pagination.pagerSize = 6 # see https://gohugo.io/extras/pagination/
|
|
# post excerpt
|
|
summaryLength = 10 # see https://gohugo.io/content-management/excerpts/
|
|
# disable language
|
|
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
|
|
defaultContentLanguage = "nl"
|
|
defaultContentLanguageInSubdir = false
|
|
|
|
############################# Modules ############################
|
|
[module]
|
|
[[module.mounts]]
|
|
source = "assets"
|
|
target = "assets"
|
|
|
|
[[module.mounts]]
|
|
source = "hugo_stats.json"
|
|
target = "assets/watching/hugo_stats.json"
|
|
|
|
########################### Services #############################
|
|
[services]
|
|
[services.googleAnalytics]
|
|
# ID = 'G-J5E56WD6ZW' # see https://gohugo.io/templates/internal/#configure-google-analytics
|
|
|
|
#[services.disqus]
|
|
#shortname = '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/
|
|
|
|
[privacy]
|
|
[privacy.googleAnalytics]
|
|
disable = true
|
|
respectDoNotTrack = 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'
|
|
|
|
############################# 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"
|
|
|
|
############################# Outputs ##############################
|
|
[outputs]
|
|
home = ["HTML", "RSS", "JSON", "WebAppManifest"]
|
|
|
|
############################# Markup ###############################
|
|
[markup]
|
|
[markup.goldmark.renderer]
|
|
unsafe= true
|
|
|
|
############################ Media types ############################
|
|
[mediaTypes]
|
|
[mediaTypes."application/manifest+json"]
|
|
suffixes = ["webmanifest"]
|
|
|
|
############################ Output Format ###########################
|
|
[outputFormats]
|
|
[outputFormats.WebAppManifest]
|
|
mediaType = "application/manifest+json"
|
|
rel = "manifest"
|
|
|
|
[minify]
|
|
minifyOutput = true |