I'm trying to display the current year in the footer of the Pelican website. My understanding is that Pelican uses the jinja2 template. In my footer.html I use:
<span>{{ now().year }}</span>
And I use it in my base.html like
{% include 'footer.html' %}
But when I generate the page I get the error "Undefined error: 'now' is not defined." I can't find the reason. Is there any trick/setting/plugin I need to do to use this?