mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 05:24:39 -04:00
Update index.md
This commit is contained in:
parent
d08692f395
commit
0b1515de52
@ -9,9 +9,27 @@ images:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
This is a bug-fix release with a couple of important fixes. After getting feedback about the new **Hugo Modules** feature, this release also adds some minor improvements:
|
||||||
|
|
||||||
This is a bug-fix release with a couple of important fixes.
|
It adds support for overlapping file mounts, even for the filesystems where we walk down the directory structure. One relevant example that is fixed by this release:
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[module]
|
||||||
|
[[module.mounts]]
|
||||||
|
source="content1"
|
||||||
|
target="content"
|
||||||
|
[[module.mounts]]
|
||||||
|
source="content2"
|
||||||
|
target="content/docs"
|
||||||
|
```
|
||||||
|
|
||||||
|
The above is obviously both common and very useful. This was never an issue with the situations where load a specific file/directory (e.g. `resources.Get "a/b/c/d/sunset.jpg"`).
|
||||||
|
|
||||||
|
User feedback also told us that these file mounts were a little hard to debug, so we added a new command that prints the configured mounts as a JSON:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
hugo config mounts
|
||||||
|
```
|
||||||
|
|
||||||
* hugolib: Fix bundle header clone logic [0e086785](https://github.com/gohugoio/hugo/commit/0e086785fa4be8086256e9d7de6cda78e18d00ee) [@bep](https://github.com/bep) [#6136](https://github.com/gohugoio/hugo/issues/6136)
|
* hugolib: Fix bundle header clone logic [0e086785](https://github.com/gohugoio/hugo/commit/0e086785fa4be8086256e9d7de6cda78e18d00ee) [@bep](https://github.com/bep) [#6136](https://github.com/gohugoio/hugo/issues/6136)
|
||||||
* docs: Regenerate CLI docs [02b947ea](https://github.com/gohugoio/hugo/commit/02b947eaa3cc68404180d796a2f7119dce074539) [@bep](https://github.com/bep)
|
* docs: Regenerate CLI docs [02b947ea](https://github.com/gohugoio/hugo/commit/02b947eaa3cc68404180d796a2f7119dce074539) [@bep](https://github.com/bep)
|
||||||
@ -23,3 +41,7 @@ This is a bug-fix release with a couple of important fixes.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user