In my project, I want to use the current year for copyright information in mkdocs config file mkdocs.yml. According to the mkdocs documentation there is build_date_utc. Could someone give an example of how to use it? I tried
copyright: "© 2017 - {{ build_date_utc.year }} <a href='https://example.org' target='_blank'>Example</a>"
But the parameter does not render correctly in HTML.
Update: I found out that it works with a JavaScript script, like this:
copyright: "© 2017 - <script>document.write(new Date().getFullYear())</script> <a href='https://example.org' target='_blank'>Example</a>"
But I would still be interested in how to do it with build_date_utc.