Load a template for any content (article, page) based on its category. For
example, for an article, if a template named article-<category>.html exists
in the theme or Jinja2 path, it will be used. If not, then the default template
is used.
Use pip to install the plugin:
$ pip install pelican-category_templateTo use the plugin, add it to the PLUGINS list in your configuration file.
Put it in pelicanconf.py by default:
PLUGINS = [
# ...
'categorytpl'',
]$ python -m unittest discoverpelican-category_template is published under a BSD 3-clause license, see the LICENSE file distributed with the project.