feat: add build date to footer

Displays the UTC date the site was last built in the footer so visitors
can see how fresh the data is.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-03-22 15:30:04 +08:00
parent 97f18d295f
commit d3070b735e
3 changed files with 17 additions and 1 deletions
+4 -1
View File
@@ -44,7 +44,10 @@
<main id="content">{% block content %}{% endblock %}</main>
<footer class="footer">
<span class="footer-brand">Awesome Python</span>
<div class="footer-left">
<span class="footer-brand">Awesome Python</span>
{% if build_date %}<span class="footer-date">Data refreshed {{ build_date }}</span>{% endif %}
</div>
<div class="footer-links">
<span
>Made by