mirror of
https://github.com/getzola/zola
synced 2024-12-14 22:32:29 +00:00
6708f7637c
* 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
3 lines
82 B
Text
3 lines
82 B
Text
# ensure consistent line endings (for hashes)
|
|
*.css text eol=lf
|
|
*.js text eol=lf
|