summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2019-03-14 00:40:54 -0700
committerGitHub <noreply@github.com>2019-03-14 00:40:54 -0700
commitf0d96ae2bf3b010ce53adadde1e38997497a513e (patch)
treed9ed0eb5445560d5574c7d7be6972861dba55d4f
parentd990ab9134199f6496b9ac8567f10791f04a720a (diff)
parent41cb4096c0d7c32a8be26f4460c7067a3e6c628f (diff)
downloadscipy-sphinx-theme-f0d96ae2bf3b010ce53adadde1e38997497a513e.tar.gz
Merge pull request #10 from mattip/fix-search
fix so 'script()' call works
-rw-r--r--_theme/scipy/layout.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/_theme/scipy/layout.html b/_theme/scipy/layout.html
index b0406d5..f0ab604 100644
--- a/_theme/scipy/layout.html
+++ b/_theme/scipy/layout.html
@@ -121,7 +121,9 @@
{%- endblock %}
{{ css() }}
{%- if not embedded %}
+ {%- block scripts %}
{{ script() }}
+ {%- endblock %}
{%- if use_opensearch %}
<link rel="search" type="application/opensearchdescription+xml"
title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}"