zola/docs/content/documentation
Koen Bolhuis 5ca2b29c49
Fix cachebust for files in the output path (#1586)
* Consider the site's output path in search_for_file

The search_for_file helper function now accepts an optional
output path. If passed, the file will also be searched there.
This is used in the get_url function to search in the
Site::output_path.

In practice, this means cachebust works for files in the
output path.

* Make output_dir required in search_for_file

* Update docs for file searching logic

* Add test for new file searching behavior
2021-08-19 07:55:40 +02:00
..
content Merge branch 'master' into next 2021-07-18 13:53:27 +02:00
deployment Merge branch 'master' into next 2021-07-18 13:53:27 +02:00
getting-started cargo/manifests: allow user to use native-tls if ring is unsupported (#1587) 2021-08-18 15:32:34 +02:00
templates Fix cachebust for files in the output path (#1586) 2021-08-19 07:55:40 +02:00
themes Clarify where to define the theme in the .toml file (#1390) 2021-03-06 21:12:21 +01:00
_index.md Update _index.md 2018-03-22 15:47:34 -06:00