diff options
author | Kirill K <kovalev.kirill.a@gmail.com> | 2017-10-10 07:37:48 +0300 |
---|---|---|
committer | Kirill K <kovalev.kirill.a@gmail.com> | 2017-10-10 07:37:48 +0300 |
commit | 74e838dd67cc8d9d98797d3d68159e275a049e32 (patch) | |
tree | ebfa1c68193e7b7f218e8bc5b4d484be8f542488 | |
parent | 5dcc71d951f1fa6706e47510e0e8cb87b73d5039 (diff) | |
download | pelican-themes-74e838dd67cc8d9d98797d3d68159e275a049e32.tar.gz |
Add js to base template
-rw-r--r-- | pelican-bootstrap3/templates/base.html | 4 |
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 %} |