I’m building a multilingual site with a separate domain for each language.
Both sites share the same static content with lots of CSS, JS, images.
I came up with the following directory structure:
├── example.de/
│ ├── templates/
│ ├── content/
│ ├── static/ <------ symlink to ../static/
│ └── config.toml
├── example.fr/
│ ├── templates/
│ ├── content/
│ ├── static/ <------ symlink to ../static/
│ └── config.toml
├── static/
Inside static/
is manifest.json
generated by Javascript framework that I use, which is loaded into Zola’s templates like so:
{% set manifest = load_data(path="static/manifest.json") %}
It does not work because:
Reason: Function call 'load_data' failed
Reason: `load_data`: "static/manifest.json" is not inside the base site directory <...>
This check (that smth is inside base dir) is completely ruining my otherwise optimal workflow.
Is there any way to disable it?