zola/components/site
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
..
benches make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
src Fix cachebust for files in the output path (#1586) 2021-08-19 07:55:40 +02:00
tests make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
Cargo.toml cargo/manifests: allow user to use native-tls if ring is unsupported (#1587) 2021-08-18 15:32:34 +02:00