aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-12-01 22:25:41 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-12-01 22:25:41 +0300
commitb3f3fa26a7e4048fb7e661ffe36c2556a45dfae5 (patch)
tree32e3f0286c4382f3fc219d134d2692478481a524
parent<nav>: role="navigation" (diff)
downloadsorting-algorithms-b3f3fa26a7e4048fb7e661ffe36c2556a45dfae5.tar.gz
sorting-algorithms-b3f3fa26a7e4048fb7e661ffe36c2556a45dfae5.zip
make the sidebar two-column
Diffstat (limited to '')
-rw-r--r--_includes/common/sidebar.html46
1 files changed, 26 insertions, 20 deletions
diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html
index 5b5eb9d..7deed0a 100644
--- a/_includes/common/sidebar.html
+++ b/_includes/common/sidebar.html
@@ -1,21 +1,27 @@
-<h2 class="h4">About the project</h2>
-<p>{{ site.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>
- <a class="list-group-item" href="mailto:{{ site.personal_info.email }}"><span class="glyphicon glyphicon-envelope"></span>&nbsp;{{ site.personal_info.email }}</a>
-</div>
-<p>The implemented algorithms have been plotted to study their performance.
-You can examine the plots <a href="{{ site.baseurl }}/plots.html">here</a>.</p>
-<h2 class="h4">Latest posts</h2>
-{% if site.posts.size == 0 %}
- <p>Sorry, there're no posts yet.</p>
-{% else %}
- <div class="list-group wide-enough">
- {% for post in site.posts limit: 5 %}
- <a class="list-group-item" href="{{ site.baseurl }}{{ post.url }}">
- <span class="badge"><span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date_to_string }}</span>
- <span class="glyphicon glyphicon-file"></span>&nbsp;{{ post.title }}
- </a>
- {% endfor %}
+<div class="row">
+ <div class="col-xs-12 col-sm-6 col-md-12">
+ <h2 class="h4">About the project</h2>
+ <p>{{ site.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>
+ <a class="list-group-item" href="mailto:{{ site.personal_info.email }}"><span class="glyphicon glyphicon-envelope"></span>&nbsp;{{ site.personal_info.email }}</a>
+ </div>
+ <p>The implemented algorithms have been plotted to study their performance.
+ You can examine the plots <a href="{{ site.baseurl }}/plots.html">here</a>.</p>
+ </div>
+ <div class="col-xs-12 col-sm-6 col-md-12">
+ <h2 class="h4">Latest posts</h2>
+ {% if site.posts.size == 0 %}
+ <p>Sorry, there're no posts yet.</p>
+ {% else %}
+ <div class="list-group wide-enough">
+ {% for post in site.posts limit: 5 %}
+ <a class="list-group-item" href="{{ site.baseurl }}{{ post.url }}">
+ <span class="badge"><span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date_to_string }}</span>
+ <span class="glyphicon glyphicon-file"></span>&nbsp;{{ post.title }}
+ </a>
+ {% endfor %}
+ </div>
+ {% endif %}
</div>
-{% endif %}
+</div>