zola/components/site/tests
Skyper d3ab3936de
[WIP] Add support for base64-encoded hash values to 'get_file_hash' (#1339)
* Add support for base64-encoded hash values

The global template function 'get_file_hash' can now return a
base64-encoded hash value when its 'base64' parameter is set to true.

See discussion in #519.

* Fix integrity attribute's value in test site

SRI hash values must be base64-encoded.

* Update documentation about 'get_file_hash'

* Fix 'can_get_hash_for_static_files' unit test
2021-02-20 13:31:37 +01:00
..
common.rs Make path to config.toml independent from root dir (#1023) 2020-05-23 11:55:45 +02:00
site.rs [WIP] Add support for base64-encoded hash values to 'get_file_hash' (#1339) 2021-02-20 13:31:37 +01:00
site_i18n.rs Make path to config.toml independent from root dir (#1023) 2020-05-23 11:55:45 +02:00