zola/components/templates/src
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
..
builtins Fix language in rss.xml 2021-05-09 23:19:56 +02:00
global_fns Fix cachebust for files in the output path (#1586) 2021-08-19 07:55:40 +02:00
filters.rs Add class based syntax higlighting + line numbers (#1531) 2021-07-10 08:53:19 +02:00
lib.rs make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00