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 Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page