Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Jinja Tweaks

Jan Max Meyer edited this page Feb 5, 2018 · 2 revisions

Jinja Tweaks in a ViUR-powered environment

Dynamic copyright date

Do it this way, using the dateTime() function returning Python's datetime.datetime.

<div>Copyright © 2006-{{ dateTime().now().strftime("%Y") }} by Author</div>