Skip to main content

A `pelican <https://github.com/getpelican/pelican>`_plugin to apply a template based on the category of the content.

Project description

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.

Test

$ python -m unittest discover

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page