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
1 changed files with 6 additions and 2 deletions
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