Merge "Actually include custom JS files"

This commit is contained in:
Jenkins authored and Gerrit Code Review committed 2016-07-18 12:54:39 +00:00
commit 8e5885edab
2 files changed
+6 -3

No files matched your search

@@ -0,0 +1,5 @@
{%- for jsfile in script_files %}
{% if jsfile not in ('_static/jquery.js', '_static/underscore.js', '_static/doctools.js') %}
<script src="{{ pathto(jsfile, 1) }}" type="text/javascript"></script>
{% endif %}
{%- endfor %}
@@ -11,9 +11,6 @@
{% include 'css.html' %}
{%- for cssfile in css_files %}
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
{%- endfor %}
{%- for jsfile in js_files %}
<script src="{{ pathto(jsfile, 1) }}" type="text/javascript" />
{%- endfor %}
{# FAVICON #}
{% if favicon %}
@@ -81,5 +78,6 @@ ga('send', 'pageview');
</div>
{% include 'footer.html' %}
{% include 'script_footer.html' %}
{% include 'js.html' %}
</body>
</html>