So you use Pelican static site generator and you want to add a custom Jinja filter for use in your templates? Great!
In this post I show how to take a simple Python function and make it accessable as a custom filter. As an example we will create a filter called LinkPeek which will allow us to easily embed website screenshots into our pages.
First, we need to …Continue reading: How to add a custom Jinja filter to Pelican