zola/components
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
..
config make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
errors Update deps 2021-08-12 08:54:55 +02:00
front_matter make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
imageproc make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
library make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
link_checker cargo/manifests: allow user to use native-tls if ring is unsupported (#1587) 2021-08-18 15:32:34 +02:00
rendering make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
search make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
site Fix cachebust for files in the output path (#1586) 2021-08-19 07:55:40 +02:00
templates Fix cachebust for files in the output path (#1586) 2021-08-19 07:55:40 +02:00
utils make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00