zola/docs/content/documentation
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
..
content Merge branch 'master' into next 2021-11-25 16:22:08 +01:00
deployment Merge branch 'master' into next 2021-11-25 16:22:08 +01:00
getting-started Merge branch 'master' into next 2021-11-25 16:22:08 +01:00
templates Add generic template fallbacks to taxonomies (#1651) 2021-11-29 09:54:16 +01:00
themes Back to pest (#1665) 2021-11-23 22:58:51 +01:00
_index.md Update _index.md 2018-03-22 15:47:34 -06:00