zola/components/utils
BezPowell 35359fb312
Add generic template fallbacks to taxonomies (#1651)
* Split checking for theme template off into separate function

Allows to check for fallbacks elsewhere in the code, without attempting to actually render the template.

* Add template fallback checking to taxonomy pages.

* Add template fallback checking to paginated taxonomies

Requires passing additional arguments to Paginator::from_taxonomy, which may not be desirable.

* Update documentation to reflect taxonomy template fallbacks.

* Update generic taxonomy template names.

* Make check_template_fallbacks() return &str.

* Add tests for check_template_fallbacks
2021-11-29 09:54:16 +01:00
..
src Add generic template fallbacks to taxonomies (#1651) 2021-11-29 09:54:16 +01:00
test-files Add a test for local time in TOML 2019-04-18 18:55:09 +02:00
test-templates Fix some theme extension 2020-02-10 23:09:22 +01:00
Cargo.toml Update deps 2021-08-12 08:54:55 +02:00