While playing around and studying features I sometimes make very bad mistakes…
cause by:
- typos
- missing knowledge
- try strange things
Would you like to have issues for these cases?
Some examples for hugo.toml
baseURL = "https://example.com/"
defaultContentLanguage = "en"
title = "Module Mounts"
disableKinds = ['RSS', 'sitemap', 'taxonomy', 'term']
[module]
[[module.mounts]]
source = "content"
target = "content"
Example 1
[[module.mounts]]
source = "."
target = "content"
hugoat least buildshugo serverendless loop
Example 2
[[module.mounts]]
source = "/" # UNIX
source = "c:/" # Windows
target = "content"
-
Ubuntu (WSL Ubuntu on Windows 11)
hugopanichugo serverpanic
-
Windows 11
hugofails with Access denied on first file sound where user has no rightshugo serverfails with Access denied on first file sound where user has no rights
Example 3
[[params]]
hugopanichugo serverpanic