hugo/langs
Bjørn Erik Pedersen 9185e11eff Reimplement archetypes
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
2021-10-16 15:22:03 +02:00
..
i18n Reimplement archetypes 2021-10-16 15:22:03 +02:00
config.go Fail on invalid time zone 2021-08-01 13:39:30 +02:00
language.go Reduce binary size vs locale, update to CLDR v36.1 2021-08-02 19:40:32 +02:00
language_test.go Misc config loading fixes 2021-06-14 17:00:32 +02:00