chill_hugoplate/hugo.toml

161 lines
4.4 KiB
TOML
Raw Normal View History

######################## default configuration ####################
2023-11-17 12:29:57 +00:00
2023-07-22 07:53:41 +00:00
# The base URL of your site (required). This will be prepended to all relative URLs.
2023-07-22 10:58:52 +00:00
baseURL = "/"
2023-11-17 12:29:57 +00:00
2023-07-22 07:53:41 +00:00
# Title of your website (required).
title = "CHILL - Logiciel libre d'accompagnement social"
2023-11-17 12:29:57 +00:00
2023-07-22 07:53:41 +00:00
# Your theme name
theme = "hugoplate"
2023-11-17 12:29:57 +00:00
# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
2023-11-17 12:29:57 +00:00
timeZone = "Europe/Brussels"
# post pagination
paginate = 2 # see https://gohugo.io/extras/pagination/
2023-11-17 12:29:57 +00:00
# post excerpt
summaryLength = 10 # see https://gohugo.io/content-management/excerpts/
2023-11-17 12:29:57 +00:00
# google analytics
2023-11-20 10:17:46 +00:00
#googleAnalytics = "G-MEASUREMENT_ID" # see https://gohugo.io/templates/internal/#configure-google-analytics
2023-11-17 12:29:57 +00:00
# disqus short name
2023-11-20 10:17:46 +00:00
#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/
2023-11-17 12:29:57 +00:00
# disable language
disableLanguages = []
hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage
2023-10-09 17:18:04 +00:00
defaultContentLanguage = "fr"
########################## Permalinks ############################
[permalinks.page]
"pages" = "/:slugorfilename/"
############################# Modules ############################
[module]
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]]
source = "hugo_stats.json"
target = "assets/watching/hugo_stats.json"
############################# Build ##############################
[build]
noJSConfigInAssets = false
useResourceCacheWhen = 'fallback'
[build.buildStats]
enable = true
[[build.cachebusters]]
source = 'assets/watching/hugo_stats\.json'
target = 'style\.css'
[[build.cachebusters]]
source = '(postcss|tailwind)\.config\.js'
target = 'css'
[[build.cachebusters]]
source = 'assets/.*\.(js|ts|jsx|tsx)'
target = 'js'
[[build.cachebusters]]
2023-08-17 08:05:08 +00:00
source = 'assets/.*\.(css|scss|sass)'
target = 'css'
[[build.cachebusters]]
source = 'data/.*\.(.*)$'
target = 'css'
[[build.cachebusters]]
source = 'assets/.*\.(.*)$'
target = '$1'
############################# Outputs ############################
[outputs]
home = ["HTML", "RSS", "WebAppManifest", "SearchIndex"]
############################# 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 = 'monokai' # see https://xyproto.github.io/splash/docs/all.html
[markup.tableOfContents]
startLevel = 2
endLevel = 5
ordered = true
########################### Media types ###########################
[mediaTypes]
[mediaTypes."application/manifest+json"]
suffixes = ["webmanifest"]
########################### Output Format ##########################
[outputFormats]
[outputFormats.WebAppManifest]
mediaType = "application/manifest+json"
rel = "manifest"
[outputFormats.SearchIndex]
mediaType = "application/json"
baseName = "searchindex"
isPlainText = true
notAlternative = true
2023-05-25 10:41:54 +00:00
############################# Plugins ##############################
# CSS Plugins
[[params.plugins.css]]
link = "plugins/swiper/swiper-bundle.css"
[[params.plugins.css]]
link = "plugins/glightbox/glightbox.css"
[[params.plugins.css]]
link = "plugins/font-awesome/v6/brands.css"
[[params.plugins.css]]
link = "plugins/font-awesome/v6/solid.css"
[[params.plugins.css]]
link = "plugins/font-awesome/v6/icons.css"
# JS Plugins
[[params.plugins.js]]
link = "js/search.js"
[[params.plugins.js]]
link = "plugins/swiper/swiper-bundle.js"
[[params.plugins.js]]
link = "plugins/glightbox/glightbox.js"
[[params.plugins.js]]
link = "js/gallery-slider.js"
[[params.plugins.js]]
link = "js/accordion.js"
[[params.plugins.js]]
link = "js/tab.js"
[[params.plugins.js]]
link = "js/modal.js"
[[params.plugins.js]]
link = "plugins/cookie.js"
[[params.plugins.js]]
link = "plugins/youtube-lite.js"