mirror of
https://github.com/simonw/datasette.git
synced 2026-09-03 07:04:16 +02:00
Wrap _footer.html content in a Jinja block so it can be easily extended and included in a custom _footer template. Fixes #2410
This commit is contained in:
parent
dc288056b8
commit
9c86214f44
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{% block footer_content %}
|
||||
Powered by <a href="https://datasette.io/" title="Datasette v{{ datasette_version }}">Datasette</a>
|
||||
{% if query_ms %}· Queries took {{ query_ms|round(3) }}ms{% endif %}
|
||||
{% if metadata %}
|
||||
|
|
@ -19,3 +20,4 @@ Powered by <a href="https://datasette.io/" title="Datasette v{{ datasette_versio
|
|||
{% endif %}{{ metadata.about or metadata.about_url }}{% if metadata.about_url %}</a>{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue