mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
rel=alternate JSON for queries and database pages, closes #1620
This commit is contained in:
parent
3ef47a0896
commit
b72b2423c7
7 changed files with 91 additions and 31 deletions
|
|
@ -3,7 +3,8 @@
|
|||
{% block title %}{{ database }}{% if query and query.sql %}: {{ query.sql }}{% endif %}{% endblock %}
|
||||
|
||||
{% block extra_head %}
|
||||
{{ super() }}
|
||||
{{- super() -}}
|
||||
<link rel="alternate" type="application/json+datasette" href="{{ alternate_url_json }}">
|
||||
{% if columns %}
|
||||
<style>
|
||||
@media only screen and (max-width: 576px) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue