aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/posts/feed.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-22 21:37:35 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-22 21:38:14 +0300
commiteffa305b1e64d7fb081fc9eafd2ba7f9d0840699 (patch)
treec7e33fb55ed443e2578be46179a533234beabbb4 /_includes/posts/feed.html
parentremove <hr> tags where unnecessary (diff)
downloadjekyll-theme-effa305b1e64d7fb081fc9eafd2ba7f9d0840699.tar.gz
jekyll-theme-effa305b1e64d7fb081fc9eafd2ba7f9d0840699.zip
posts: separate feed entries with border
It's not as intrusive as <hr>, but still serves its role.
Diffstat (limited to '_includes/posts/feed.html')
-rw-r--r--_includes/posts/feed.html22
1 files changed, 12 insertions, 10 deletions
diff --git a/_includes/posts/feed.html b/_includes/posts/feed.html
index b273b5a..14cc41e 100644
--- a/_includes/posts/feed.html
+++ b/_includes/posts/feed.html
@@ -3,18 +3,20 @@
<hr/>
{% else %}
{% for post in paginator.posts %}
- <div class="post-header">
- <h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
- <div class="post-date">
- <p class="text-muted">
- {% if post.category %}
- <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>
- {% endif %}
- <span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date: '%-d&nbsp;%b&nbsp;%Y' }}
- </p>
+ <div class="post-entry">
+ <div class="post-header">
+ <h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
+ <div class="post-date">
+ <p class="text-muted">
+ {% if post.category %}
+ <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>
+ {% endif %}
+ <span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date: '%-d&nbsp;%b&nbsp;%Y' }}
+ </p>
+ </div>
</div>
+ {{ post.excerpt | markdownify }}
</div>
- {{ post.excerpt | markdownify }}
{% endfor %}
<div class="text-center">
{% include posts/paginator.html %}