mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Use block scripts instead, refs #1608
This commit is contained in:
parent
5c1cfa451d
commit
db8cf899e2
1 changed files with 4 additions and 0 deletions
4
docs/_templates/base.html
vendored
4
docs/_templates/base.html
vendored
|
|
@ -3,6 +3,10 @@
|
||||||
{% block site_meta %}
|
{% block site_meta %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<script defer data-domain="docs.datasette.io" src="https://plausible.io/js/plausible.js"></script>
|
<script defer data-domain="docs.datasette.io" src="https://plausible.io/js/plausible.js"></script>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
{{ super() }}
|
||||||
<script>
|
<script>
|
||||||
jQuery(function ($) {
|
jQuery(function ($) {
|
||||||
// Show banner linking to /stable/ if this is a /latest/ page
|
// Show banner linking to /stable/ if this is a /latest/ page
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue