From 0afc76fb78518bf8185c02e548e83e63c8bb0153 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sat, 31 Oct 2026 19:07:58 +0100 Subject: chore(core): add djlint template tooling Add djlint to the development toolchain with Jinja, CSS, and JavaScript formatting rules so template style can be checked and normalized consistently. Reformat existing templates to match the configured conventions. --- webmentions_ssg/templates/sent.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'webmentions_ssg/templates/sent.html') diff --git a/webmentions_ssg/templates/sent.html b/webmentions_ssg/templates/sent.html index 844a243..c9662b9 100644 --- a/webmentions_ssg/templates/sent.html +++ b/webmentions_ssg/templates/sent.html @@ -4,7 +4,9 @@ SPDX-FileCopyrightText: 2026 Dennis Fink SPDX-License-Identifier: BSD-3-Clause --> {% extends "base.html" %} + {% from "bootstrap5/pagination.html" import render_pagination %} + {% block content %}

Sources

@@ -14,7 +16,7 @@ SPDX-License-Identifier: BSD-3-Clause class="btn btn-sm btn-primary" data-bs-toggle="modal" data-bs-target="#confirmation-modal" - data-action="{{ url_for("root.rescan_sent_sources") }}" + data-action="{{ url_for('root.rescan_sent_sources') }}" data-title="Rescan sources?" data-message="All sources will be scanned again for changes and webmentions." data-confirm-label="Rescan" @@ -79,6 +81,7 @@ SPDX-License-Identifier: BSD-3-Clause

No Webmention sources have been discovered yet.

{% endif %} {% endblock %} + {% block scripts %} {{ super() }} -- cgit v1.3.1