diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-22 21:37:35 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-22 21:38:14 +0300 |
commit | effa305b1e64d7fb081fc9eafd2ba7f9d0840699 (patch) | |
tree | c7e33fb55ed443e2578be46179a533234beabbb4 /_includes/posts | |
parent | remove <hr> tags where unnecessary (diff) | |
download | jekyll-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')
-rw-r--r-- | _includes/posts/feed.html | 22 |
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> <a class="category" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a> - {% endif %} - <span class="glyphicon glyphicon-time"></span> {{ post.date | date: '%-d %b %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> <a class="category" href="{{ '/' | relative_url }}{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a> + {% endif %} + <span class="glyphicon glyphicon-time"></span> {{ post.date | date: '%-d %b %Y' }} + </p> + </div> </div> + {{ post.excerpt | markdownify }} </div> - {{ post.excerpt | markdownify }} {% endfor %} <div class="text-center"> {% include posts/paginator.html %} |