zola/docs
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 Fix cachebust for files in the output path (#1586) 2021-08-19 07:55:40 +02:00
sass Merge branch 'master' into next 2021-07-18 13:53:27 +02:00
static Update processed images 2021-07-18 14:03:14 +02:00
templates Merge branch 'master' into next 2021-07-18 13:53:27 +02:00
config.toml Add class based syntax higlighting + line numbers (#1531) 2021-07-10 08:53:19 +02:00