aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/sidebar.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-06-25 03:20:21 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-06-25 03:20:21 +0300
commit860ae3c81409ba0e49c224bc1431e1835d500196 (patch)
tree34d864b6e425e84b85c1c203d7d01f039b655a3e /_includes/common/sidebar.html
parentREADME update (diff)
downloadsorting-algorithms-860ae3c81409ba0e49c224bc1431e1835d500196.tar.gz
sorting-algorithms-860ae3c81409ba0e49c224bc1431e1835d500196.zip
move common assets to common/, more info to config
Diffstat (limited to '_includes/common/sidebar.html')
-rw-r--r--_includes/common/sidebar.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html
new file mode 100644
index 0000000..e6041c3
--- /dev/null
+++ b/_includes/common/sidebar.html
@@ -0,0 +1,18 @@
+<h4>About the project</h4>
+<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>
+<h4>Latest posts</h4>
+{% 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 %}