aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/base.html
diff options
context:
space:
mode:
authorKirill K <kovalev.kirill.a@gmail.com>2017-10-10 07:37:48 +0300
committerKirill K <kovalev.kirill.a@gmail.com>2017-10-10 07:37:48 +0300
commit74e838dd67cc8d9d98797d3d68159e275a049e32 (patch)
treeebfa1c68193e7b7f218e8bc5b4d484be8f542488 /pelican-bootstrap3/templates/base.html
parent5dcc71d951f1fa6706e47510e0e8cb87b73d5039 (diff)
downloadpelican-themes-74e838dd67cc8d9d98797d3d68159e275a049e32.tar.gz
Add js to base template
Diffstat (limited to 'pelican-bootstrap3/templates/base.html')
-rw-r--r--pelican-bootstrap3/templates/base.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html
index 9a69baf..873cd08 100644
--- a/pelican-bootstrap3/templates/base.html
+++ b/pelican-bootstrap3/templates/base.html
@@ -207,6 +207,10 @@
<!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/respond.min.js"></script>
+{% if CUSTOM_JS %}
+ <script src="{{ SITEURL }}/{{ CUSTOM_JS }}"></script>
+{% endif %}
+
{% if BANNER %}
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/bodypadding.js"></script>
{% endif %}