diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-10 03:52:07 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-10 03:52:41 +0300 |
commit | 204e1fde2bfbc1476747566b5de66efbc97e659e (patch) | |
tree | 78a13f04fb7c7e26551d148766a8454903f4d09c /_includes/common/footer.html | |
parent | README: update (diff) | |
download | jekyll-theme-204e1fde2bfbc1476747566b5de66efbc97e659e.tar.gz jekyll-theme-204e1fde2bfbc1476747566b5de66efbc97e659e.zip |
_includes: move tiny includes to the larger ones
Diffstat (limited to '_includes/common/footer.html')
-rw-r--r-- | _includes/common/footer.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/_includes/common/footer.html b/_includes/common/footer.html index 769ac7c..cce57cc 100644 --- a/_includes/common/footer.html +++ b/_includes/common/footer.html @@ -19,7 +19,12 @@ </footer> </div> </div> - {% include common/jquery.html %} - {% include common/bootstrap_js.html %} + {% if site.settings.3rdparty.minified %} + <script src="https://code.jquery.com/jquery-{{ site.settings.3rdparty.versions.jquery }}.min.js"></script> + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.settings.3rdparty.versions.bootstrap }}/js/bootstrap.min.js"></script> + {% else %} + <script src="https://code.jquery.com/jquery-{{ site.settings.3rdparty.versions.jquery }}.js"></script> + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.settings.3rdparty.versions.bootstrap }}/js/bootstrap.js"></script> + {% endif %} </body> </html> |