zola/components/site/src
Hannu Hartikainen 6708f7637c
Implement get_file_hash (#1044)
* Fix get_url(cachebust=true)

The previous implementation looked for static files in the wrong place.
Look in static_path, output_path and content_path. If file can't be
found in any of them, print a warning to stderr and fall back to using
a timestamp.

Add a test to ensure it also works in practice, not just in theory.

* Implement get_file_hash
2020-06-09 22:38:29 +02:00
..
lib.rs Implement get_file_hash (#1044) 2020-06-09 22:38:29 +02:00
sitemap.rs WIP: add an 'updated' field to pages 2020-04-14 17:29:46 +05:30