zola/components
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
..
config Shortcodes (#1640) 2021-11-19 20:31:42 +01:00
errors Update deps 2021-08-12 08:54:55 +02:00
front_matter make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
imageproc make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
library Add generic template fallbacks to taxonomies (#1651) 2021-11-29 09:54:16 +01:00
link_checker cargo/manifests: allow user to use native-tls if ring is unsupported (#1587) 2021-08-18 15:32:34 +02:00
rendering Back to pest (#1665) 2021-11-23 22:58:51 +01:00
search make clippy a bit happier (#1588) 2021-08-18 09:36:51 +02:00
site Add generic template fallbacks to taxonomies (#1651) 2021-11-29 09:54:16 +01:00
templates Shortcodes (#1640) 2021-11-19 20:31:42 +01:00
utils Add generic template fallbacks to taxonomies (#1651) 2021-11-29 09:54:16 +01:00