diff --git a/docs/_templates/base.html b/docs/_templates/base.html
index a9e670e..43c2003 100644
--- a/docs/_templates/base.html
+++ b/docs/_templates/base.html
@@ -3,4 +3,35 @@
{% block site_meta %}
{{ super() }}
-{% endblock %}
\ No newline at end of file
+{% endblock %}
+
+{% block scripts %}
+{{ super() }}
+
+{% endblock %}
diff --git a/docs/conf.py b/docs/conf.py
index 8d49b81..859c6b9 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -41,7 +41,7 @@ autodoc_member_order = "bysource"
autodoc_typehints = "description"
extlinks = {
- "issue": ("https://github.com/simonw/sqlite-utils/issues/%s", "#"),
+ "issue": ("https://github.com/simonw/sqlite-utils/issues/%s", "#%s"),
}