Skip to content

Commit

Permalink
Wrap _footer.html content in a Jinja block so it can be easily exte…
Browse files Browse the repository at this point in the history
…nded and included in a custom _footer template
  • Loading branch information
king7532 committed Sep 14, 2024
1 parent fda4477 commit 9ee5886
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datasette/templates/_footer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% block footer_content %}
Powered by <a href="https://datasette.io/" title="Datasette v{{ datasette_version }}">Datasette</a>
{% if query_ms %}&middot; Queries took {{ query_ms|round(3) }}ms{% endif %}
{% if metadata %}
Expand All @@ -19,3 +20,4 @@
{% endif %}{{ metadata.about or metadata.about_url }}{% if metadata.about_url %}</a>{% endif %}
{% endif %}
{% endif %}
{% endblock %}

0 comments on commit 9ee5886

Please sign in to comment.