added the changelog command

This commit is contained in:
2026-02-26 19:06:41 +01:00
parent 2973430c00
commit 5190291b30
10 changed files with 560 additions and 5 deletions

View File

@@ -16,6 +16,21 @@
<hr />
<h2>Recent Changes</h2>
{% if changelog | length > 0 %}
<p><a href="{% if is_static %}changelog.html{% else %}changelog{% endif %}">View full changelog</a></p>
<ul>
{% for entry in changelog | slice(end=5) %}
<li>
<code style="color: var(--accent)">{{ entry.date | truncate(length=10, end="") }}</code>
{{ entry.message }}
</li>
{% endfor %}
</ul>
{% else %}
<p>No recent changes recorded.</p>
{% endif %}
<script>
document.addEventListener("DOMContentLoaded", function() {
const dateElements = document.querySelectorAll('.local-date');