aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-06-05 17:16:59 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-06-05 17:16:59 +0300
commit69f431bc618bb319443e257de87cf3d660420e71 (patch)
tree2f87791aef4580eb19dc8ee9d08a4ed32f4ccbbb /_includes/common
parentadd plain code snippets to posts (diff)
downloadjekyll-theme-69f431bc618bb319443e257de87cf3d660420e71.tar.gz
jekyll-theme-69f431bc618bb319443e257de87cf3d660420e71.zip
bundle modified Bootstrap 3bundled_bootstrap
Diffstat (limited to '')
-rw-r--r--_includes/common/footer.html9
-rw-r--r--_includes/common/header.html18
-rw-r--r--_includes/common/sidebar.html4
3 files changed, 9 insertions, 22 deletions
diff --git a/_includes/common/footer.html b/_includes/common/footer.html
index a14a5e3..01fa784 100644
--- a/_includes/common/footer.html
+++ b/_includes/common/footer.html
@@ -19,12 +19,7 @@
</footer>
</div>
</div>
- {% if site.settings.3rdparty.minified %}
- <script src="https://code.jquery.com/jquery-{{ site.settings.3rdparty.versions.jquery }}.min.js"></script>
- <script src="https://stackpath.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://stackpath.bootstrapcdn.com/bootstrap/{{ site.settings.3rdparty.versions.bootstrap }}/js/bootstrap.js"></script>
- {% endif %}
+ <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
+ <script src="{{ '/assets/bootstrap/js/bootstrap.min.js' | relative_url }}"></script>
</body>
</html>
diff --git a/_includes/common/header.html b/_includes/common/header.html
index bf9a94c..075d04f 100644
--- a/_includes/common/header.html
+++ b/_includes/common/header.html
@@ -11,19 +11,11 @@
<title>{{ page.title }} - {{ site.settings.author.name }}</title>
{% endif %}
- {% if site.settings.3rdparty.minified %}
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/{{ site.settings.3rdparty.versions.bootstrap }}/css/bootstrap.min.css">
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/{{ site.settings.3rdparty.versions.html5shiv }}/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/{{ site.settings.3rdparty.versions.respond }}/respond.min.js"></script>
- <![endif]-->
- {% else %}
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/{{ site.settings.3rdparty.versions.bootstrap }}/css/bootstrap.css">
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/{{ site.settings.3rdparty.versions.html5shiv }}/html5shiv.js"></script>
- <script src="https://oss.maxcdn.com/respond/{{ site.settings.3rdparty.versions.respond }}/respond.js"></script>
- <![endif]-->
- {% endif %}
+ <link rel="stylesheet" href="{{ '/assets/bootstrap/css/bootstrap.min.css' | relative_url }}">
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+ <![endif]-->
{% include common/mathjax.html %}
diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html
index 1a161ba..6d1d17d 100644
--- a/_includes/common/sidebar.html
+++ b/_includes/common/sidebar.html
@@ -1,6 +1,6 @@
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-12">
- <h2 class="h4">About</h2>
+ <h4>About</h4>
<p>{{ site.settings.project.description }}. Feel free to contribute or contact me.</p>
<div class="list-group wide-enough">
<a class="list-group-item" href="{{ site.github.repository_url }}"><span class="glyphicon glyphicon-home"></span>&nbsp;GitHub repository</a>
@@ -8,7 +8,7 @@
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-12">
- <h2 class="h4">Latest posts</h2>
+ <h4>Latest posts</h4>
{% if site.posts.size == 0 %}
<p>Sorry, there're no posts yet.</p>
{% else %}