Skip to content

Commit cc96896

Browse files
committed
Fixed broken JS by removing a macro.
1 parent 468ca52 commit cc96896

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

docs/theme/deis/layout.html

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,15 @@
8383

8484
<footer>
8585
</footer>
86-
87-
{%- macro script() %}
88-
<script type="text/javascript">
89-
var DOCUMENTATION_OPTIONS = {
90-
URL_ROOT: '{{ url_root }}',
91-
VERSION: '{{ release|e }}',
92-
COLLAPSE_INDEX: false,
93-
FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
94-
HAS_SOURCE: {{ has_source|lower }}
95-
};
96-
</script>
97-
{%- endmacro %}
86+
<script type="text/javascript">
87+
var DOCUMENTATION_OPTIONS = {
88+
URL_ROOT: '{{ url_root }}',
89+
VERSION: '{{ release|e }}',
90+
COLLAPSE_INDEX: false,
91+
FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
92+
HAS_SOURCE: {{ has_source|lower }}
93+
};
94+
</script>
9895
<script type="text/javascript" src="{{ pathto('_static/underscore.js', 1) }}" type="text/css"></script>
9996
<script type="text/javascript" src="{{ pathto('_static/doctools.js', 1) }}" type="text/css"></script>
10097
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}" type="text/css"></script>

0 commit comments

Comments
 (0)