aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-09 01:03:55 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-09 01:03:55 +0300
commit2dade5b46964cdbf1c7586c90f7d6969c2c14272 (patch)
treedff2a18d780709a51c01e87a9b2a425995e464f2
parent_config.yml: .travis.yml is no more (diff)
downloadblog-2dade5b46964cdbf1c7586c90f7d6969c2c14272.tar.gz
blog-2dade5b46964cdbf1c7586c90f7d6969c2c14272.zip
bump jekyll-theme
-rw-r--r--_config.yml2
-rw-r--r--index.html18
2 files changed, 2 insertions, 18 deletions
diff --git a/_config.yml b/_config.yml
index 9c58825..4e2afc9 100644
--- a/_config.yml
+++ b/_config.yml
@@ -50,7 +50,7 @@ paginate: 10
# jekyll-github-metadata
repository: egor-tensin/blog
# jekyll-remote-theme
-remote_theme: egor-tensin/jekyll-theme@9c44060f0d9dd530a4d90c635da7b83935a1ec19
+remote_theme: egor-tensin/jekyll-theme@b0b39768de6564e21f28c96fca34e01fa4602116
# egor-tensin/jekyll-theme
bootstrap_version: 3.3.7
diff --git a/index.html b/index.html
index 69c22ad..d3914c2 100644
--- a/index.html
+++ b/index.html
@@ -6,20 +6,4 @@ navbar_link: <span class="glyphicon glyphicon-home"></span>&nbsp;Main page
navbar_priority: 1
root_page: true
---
-{% if site.posts.size == 0 %}
- <p class="h3">Sorry, no posts have been added yet.</p>
- <hr/>
-{% else %}
- {% for post in paginator.posts %}
- <h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
- <p class="text-muted">
- <span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ post.date | date: '%-d %B %Y' }}
- {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ site.baseurl }}/categories/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}
- </p>
- {{ post.excerpt | markdownify }}
- <hr/>
- {% endfor %}
- <div class="text-center">
- {% include common/paginator.html %}
- </div>
-{% endif %}
+{% include posts/posts.html %}