From 9ee5886c29ada5c41cd9ce593f1f13611951b9f5 Mon Sep 17 00:00:00 2001 From: Benjamin King Date: Sun, 25 Aug 2024 14:40:16 -0500 Subject: [PATCH] Wrap `_footer.html` content in a Jinja block so it can be easily extended and included in a custom _footer template --- datasette/templates/_footer.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/datasette/templates/_footer.html b/datasette/templates/_footer.html index 074270f15b..ed01ce512b 100644 --- a/datasette/templates/_footer.html +++ b/datasette/templates/_footer.html @@ -1,3 +1,4 @@ +{% block footer_content %} Powered by Datasette {% if query_ms %}· Queries took {{ query_ms|round(3) }}ms{% endif %} {% if metadata %} @@ -19,3 +20,4 @@ {% endif %}{{ metadata.about or metadata.about_url }}{% if metadata.about_url %}{% endif %} {% endif %} {% endif %} +{% endblock %} \ No newline at end of file