From 204e1fde2bfbc1476747566b5de66efbc97e659e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 10 Apr 2021 03:52:07 +0300 Subject: _includes: move tiny includes to the larger ones --- _includes/common/bootstrap_css.html | 5 ----- _includes/common/bootstrap_js.html | 5 ----- _includes/common/footer.html | 9 +++++++-- _includes/common/header.html | 19 +++++++++++++++---- _includes/common/ie_compat.html | 11 ----------- _includes/common/jquery.html | 5 ----- 6 files changed, 22 insertions(+), 32 deletions(-) delete mode 100644 _includes/common/bootstrap_css.html delete mode 100644 _includes/common/bootstrap_js.html delete mode 100644 _includes/common/ie_compat.html delete mode 100644 _includes/common/jquery.html (limited to '_includes') diff --git a/_includes/common/bootstrap_css.html b/_includes/common/bootstrap_css.html deleted file mode 100644 index 72c078b..0000000 --- a/_includes/common/bootstrap_css.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if site.settings.3rdparty.minified %} - -{% else %} - -{% endif %} diff --git a/_includes/common/bootstrap_js.html b/_includes/common/bootstrap_js.html deleted file mode 100644 index 3f80e7d..0000000 --- a/_includes/common/bootstrap_js.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if site.settings.3rdparty.minified %} - -{% else %} - -{% endif %} 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 @@ - {% include common/jquery.html %} - {% include common/bootstrap_js.html %} + {% if site.settings.3rdparty.minified %} + + + {% else %} + + + {% endif %} diff --git a/_includes/common/header.html b/_includes/common/header.html index bff0657..e5af5b4 100644 --- a/_includes/common/header.html +++ b/_includes/common/header.html @@ -11,7 +11,21 @@ {{ page.title }} - {{ site.settings.author.name }} {% endif %} - {% include common/bootstrap_css.html %} + {% if site.settings.3rdparty.minified %} + + + {% else %} + + + {% endif %} + + {% include common/mathjax.html %} @@ -20,9 +34,6 @@ {% endfor %} {% endif %} - - {% include common/ie_compat.html %} - {% include common/mathjax.html %}