mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
9185e11eff
The old implementation had some issues, mostly related to the context (e.g. name, file paths) passed to the template. This new implementation is using the exact same code path for evaluating the pages as in a regular build. This also makes it more robust and easier to reason about in a multilingual setup. Now, if you are explicit about the target path, Hugo will now always pick the correct mount and language: ```bash hugo new content/en/posts/my-first-post.md ``` Fixes #9032 Fixes #7589 Fixes #9043 Fixes #9046 Fixes #9047 |
||
---|---|---|
.. | ||
files | ||
glob | ||
createcounting_fs.go | ||
decorators.go | ||
fileinfo.go | ||
fileinfo_test.go | ||
filter_fs.go | ||
filter_fs_test.go | ||
fs.go | ||
fs_test.go | ||
glob.go | ||
glob_test.go | ||
hashing_fs.go | ||
hashing_fs_test.go | ||
language_composite_fs.go | ||
noop_fs.go | ||
nosymlink_fs.go | ||
nosymlink_test.go | ||
rootmapping_fs.go | ||
rootmapping_fs_test.go | ||
slice_fs.go | ||
stacktracer_fs.go | ||
walk.go | ||
walk_test.go |