From 860ae3c81409ba0e49c224bc1431e1835d500196 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 25 Jun 2016 03:20:21 +0300 Subject: move common assets to common/, more info to config --- _includes/bootstrap_css.html | 5 ----- _includes/bootstrap_js.html | 5 ----- _includes/common/bootstrap_css.html | 5 +++++ _includes/common/bootstrap_js.html | 5 +++++ _includes/common/footer.html | 25 +++++++++++++++++++++++++ _includes/common/header.html | 29 +++++++++++++++++++++++++++++ _includes/common/ie_compat.html | 11 +++++++++++ _includes/common/jquery.html | 5 +++++ _includes/common/navbar.html | 26 ++++++++++++++++++++++++++ _includes/common/pagination.html | 30 ++++++++++++++++++++++++++++++ _includes/common/sidebar.html | 18 ++++++++++++++++++ _includes/footer.html | 25 ------------------------- _includes/header.html | 30 ------------------------------ _includes/ie_compat.html | 11 ----------- _includes/jquery.html | 5 ----- _includes/navbar.html | 26 -------------------------- _includes/pagination.html | 30 ------------------------------ _includes/sidebar.html | 18 ------------------ 18 files changed, 154 insertions(+), 155 deletions(-) delete mode 100644 _includes/bootstrap_css.html delete mode 100644 _includes/bootstrap_js.html create mode 100644 _includes/common/bootstrap_css.html create mode 100644 _includes/common/bootstrap_js.html create mode 100644 _includes/common/footer.html create mode 100644 _includes/common/header.html create mode 100644 _includes/common/ie_compat.html create mode 100644 _includes/common/jquery.html create mode 100644 _includes/common/navbar.html create mode 100644 _includes/common/pagination.html create mode 100644 _includes/common/sidebar.html delete mode 100644 _includes/footer.html delete mode 100644 _includes/header.html delete mode 100644 _includes/ie_compat.html delete mode 100644 _includes/jquery.html delete mode 100644 _includes/navbar.html delete mode 100644 _includes/pagination.html delete mode 100644 _includes/sidebar.html (limited to '_includes') diff --git a/_includes/bootstrap_css.html b/_includes/bootstrap_css.html deleted file mode 100644 index f47b856..0000000 --- a/_includes/bootstrap_css.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if site.minified_externals %} - -{% else %} - -{% endif %} diff --git a/_includes/bootstrap_js.html b/_includes/bootstrap_js.html deleted file mode 100644 index e724257..0000000 --- a/_includes/bootstrap_js.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if site.minified_externals %} - -{% else %} - -{% endif %} diff --git a/_includes/common/bootstrap_css.html b/_includes/common/bootstrap_css.html new file mode 100644 index 0000000..f47b856 --- /dev/null +++ b/_includes/common/bootstrap_css.html @@ -0,0 +1,5 @@ +{% if site.minified_externals %} + +{% else %} + +{% endif %} diff --git a/_includes/common/bootstrap_js.html b/_includes/common/bootstrap_js.html new file mode 100644 index 0000000..e724257 --- /dev/null +++ b/_includes/common/bootstrap_js.html @@ -0,0 +1,5 @@ +{% if site.minified_externals %} + +{% else %} + +{% endif %} diff --git a/_includes/common/footer.html b/_includes/common/footer.html new file mode 100644 index 0000000..0273971 --- /dev/null +++ b/_includes/common/footer.html @@ -0,0 +1,25 @@ + + + + + {% include common/jquery.html %} + {% include common/bootstrap_js.html %} + + diff --git a/_includes/common/header.html b/_includes/common/header.html new file mode 100644 index 0000000..c21b442 --- /dev/null +++ b/_includes/common/header.html @@ -0,0 +1,29 @@ + + + + + + + + {{ page.title }} - {{ site.project.name }} - {{ site.personal_info.name }} + + {% include common/bootstrap_css.html %} + + + + + {% if page.custom_css %} + {% for css in page.custom_css %} + + {% endfor %} + {% endif %} + + {% include common/ie_compat.html %} + + + - {% include jquery.html %} - {% include bootstrap_js.html %} - - diff --git a/_includes/header.html b/_includes/header.html deleted file mode 100644 index 29a2729..0000000 --- a/_includes/header.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - {{ page.title }} - Sorting algorithms - {{ site.personal_info.name }} - - {% include bootstrap_css.html %} - - - - - - {% if page.custom_css %} - {% for css in page.custom_css %} - - {% endfor %} - {% endif %} - - {% include ie_compat.html %} - - -