From 6dd2f3efc32890dd9a48559138696f3e82e134be Mon Sep 17 00:00:00 2001 From: Eric Hough Date: Sun, 5 Jan 2014 15:22:45 -0500 Subject: [PATCH] Renaming block "extrahead" to "inlinejs" and moving to bottom of page. --- sphinx_rtd_theme/layout.html | 3 ++- sphinx_rtd_theme/search.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index 5e54d031..6e8c18c2 100644 --- a/sphinx_rtd_theme/layout.html +++ b/sphinx_rtd_theme/layout.html @@ -67,7 +67,6 @@ {%- endif %} {%- endblock %} - {%- block extrahead %} {% endblock %} {# Keep modernizr in head - http://modernizr.com/docs/#installing #} @@ -142,5 +141,7 @@ {% endif %} + {%- block inlinejs %} {% endblock %} + diff --git a/sphinx_rtd_theme/search.html b/sphinx_rtd_theme/search.html index d8bbe690..66b9a013 100644 --- a/sphinx_rtd_theme/search.html +++ b/sphinx_rtd_theme/search.html @@ -10,7 +10,7 @@ {%- extends "layout.html" %} {% set title = _('Search') %} {% set script_files = script_files + ['_static/searchtools.js'] %} -{% block extrahead %} +{% block inlinejs %}