Make time or date mentions machine-parsable using time tag #1

Merged
jotoho merged 4 commits from html-time-tag into master 2021-09-15 21:47:33 +02:00
Showing only changes of commit 319c02fabc - Show all commits

View file

@ -50,8 +50,12 @@
<hr />
<footer>
<p>
Copyright {{ now() | date(format="%Y", timezone="Europe/Berlin")
}} Jonas Tobias Hopusch (<a
<!--{% set current_year = now() | date(format="%Y",
timezone="Europe/Berlin") %} -->
Copyright
<time datetime="{{ current_year }}">{{ current_year }}</time>
Jonas Tobias Hopusch (<a
rel="noreferer"
href="https://gitlab.com/jotoho"
>@jotoho</a