-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Description
What version of Hugo are you using (hugo version
)?
$ hugo version hugo v0.123.1-3f8434a62fc91a50f4e5bd43a4435d2d301844ff+extended darwin/arm64 BuildDate=2024-02-21T08:17:45Z VendorInfo=brew
Does this issue reproduce with the latest release?
Yes
Description
Combined Mount setup like the following stopped working
Contents of the folders
static/images
header.svg
themes/PaperMod/images/
screenshot.png
[module]
[[module.mounts]]
source = "themes/PaperMod/images/screenshot.png"
target = "static/images/screenshot.png"
[[module.mounts]]
source = "static"
target = "static"
See Discourse #48374
Results
0.122.0
$ hugo-0.122.0
Start building sites …
hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa+extended darwin/arm64 BuildDate=2024-01-26T15:54:24Z
WARN Dir layouts/partials/shortcodes/metadata not found
| EN
-------------------+-----
Pages | 20
Paginator pages | 0
Non-page files | 0
Static files | 2
Processed images | 0
Aliases | 7
Sitemaps | 1
Cleaned | 0
Total in 57 ms
$ ls public/images/
header.svg screenshot.png
0.123.1
$ hugo
Start building sites …
hugo v0.123.1-3f8434a62fc91a50f4e5bd43a4435d2d301844ff+extended darwin/arm64 BuildDate=2024-02-21T08:17:45Z VendorInfo=brew
WARN Dir layouts/partials/shortcodes/metadata not found
| EN
-------------------+-----
Pages | 21
Paginator pages | 0
Non-page files | 0
Static files | 1
Processed images | 0
Aliases | 7
Cleaned | 0
Total in 54 ms
$ ls public/images/
screenshot.png
Reproduceable example
See https://github.com/cmahnke/hugo-test/tree/0.123.0-static
Further ideas
- Maybe it's now depending on the order of the mounts? Shouldn't really matter.