zola/components/site
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
..
benches make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
src Add generic template fallbacks to taxonomies (#1651) 2021-11-29 09:54:16 +01:00
tests make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
Cargo.toml cargo/manifests: allow user to use native-tls if ring is unsupported (#1587) 2021-08-18 15:32:34 +02:00