Skip to content

Commit 134ad0a

Browse files
Improved footer macro to update with current year (#173)
1 parent 6fcea8e commit 134ad0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/macros/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<a rel="me" class="d-inline-block m-1" href="https://fosstodon.org/@flameshot"><img class="footer-icon" src="{{ get_url(path='img/icons/mastodon.svg') }}" alt="mastodon logo." width="26" height="26"></a>
3232
<a class="d-inline-block m-1" href="https://matrix.to/#/#flameshot-org:matrix.org"><img class="footer-icon" src="{{ get_url(path='img/icons/matrix.svg') }}" alt="matrix logo." width="26" height="26"></a>
3333
</div>
34-
<small class="text-white mt-3">Copyright &copy; 2017-2024 Flameshot contributors &bullet; Site design by <a class="cs-link" href="https://github.com/Correct-Syntax">Correct Syntax</a></small>
34+
<small class="text-white mt-3">Copyright &copy; 2017-{{ now() | date(format="%Y") }} Flameshot contributors &bullet; Site design by <a class="cs-link" href="https://github.com/Correct-Syntax">Correct Syntax</a></small>
3535
</div>
3636
</footer>
3737
{% endmacro %}

0 commit comments

Comments
 (0)