diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-30 03:30:50 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-30 03:30:50 +0300 |
commit | 888c21a7d9a284f3b77d13b0b1d41da0969c2397 (patch) | |
tree | 3afdf2d09bdcf0d99537d08fa418c1650589b6f0 /_includes/common | |
parent | README: remove the obsolete Windows notes (diff) | |
download | sorting-algorithms-888c21a7d9a284f3b77d13b0b1d41da0969c2397.tar.gz sorting-algorithms-888c21a7d9a284f3b77d13b0b1d41da0969c2397.zip |
remove unused stuff: posts, comments, sidebar, etc.
Diffstat (limited to '_includes/common')
-rw-r--r-- | _includes/common/paginator.html | 23 | ||||
-rw-r--r-- | _includes/common/sidebar.html | 27 |
2 files changed, 0 insertions, 50 deletions
diff --git a/_includes/common/paginator.html b/_includes/common/paginator.html deleted file mode 100644 index 55cb690..0000000 --- a/_includes/common/paginator.html +++ /dev/null @@ -1,23 +0,0 @@ -{% if site.posts.size != 0 %} -<ul class="pagination"> - {% if paginator.previous_page %} - <li><a href="{{ site.baseurl }}{{ paginator.previous_page_path }}"><span class="glyphicon glyphicon-chevron-left"></span> Prev</a></li> - {% else %} - <li class="disabled"><a href="#"><span class="glyphicon glyphicon-chevron-left"></span> Prev</a></li> - {% endif %} - {% for page_number in (1..paginator.total_pages) %} - {% if page_number == paginator.page %} - <li class="active"><a href="#">{{ page_number }}</a></li> - {% elsif page_number == 1 %} - <li><a href="{{ site.baseurl }}/posts/">{{ page_number }}</a></li> - {% else %} - <li><a href="{{ site.baseurl }}{{ site.paginate_path | replace: ':num', page_number }}">{{ page_number }}</a></li> - {% endif %} - {% endfor %} - {% if paginator.next_page %} - <li><a href="{{ site.baseurl }}{{ paginator.next_page_path }}">Next <span class="glyphicon glyphicon-chevron-right"></span></a></li> - {% else %} - <li class="disabled"><a href="#">Next <span class="glyphicon glyphicon-chevron-right"></span></a></li> - {% endif %} -</ul> -{% endif %} diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html deleted file mode 100644 index 3300b17..0000000 --- a/_includes/common/sidebar.html +++ /dev/null @@ -1,27 +0,0 @@ -<div class="row"> - <div class="col-xs-12 col-sm-6 col-md-12"> - <h2 class="h4">About</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> GitHub repository</a> - <a class="list-group-item" href="mailto:{{ site.personal_info.email }}"><span class="glyphicon glyphicon-envelope"></span> {{ 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 }}/">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> {{ post.date | date: '%-d %b %Y' }}</span> - <span class="glyphicon glyphicon-file"></span> {{ post.title }} - </a> - {% endfor %} - </div> - {% endif %} - </div> -</div> |