aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--_includes/posts/feed.html22
-rw-r--r--assets/css/jekyll-theme/posts.css5
2 files changed, 17 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 %}
diff --git a/assets/css/jekyll-theme/posts.css b/assets/css/jekyll-theme/posts.css
index d9ee811..c35fc11 100644
--- a/assets/css/jekyll-theme/posts.css
+++ b/assets/css/jekyll-theme/posts.css
@@ -13,3 +13,8 @@
.post-date a.category {
margin-right: .5em;
}
+
+.post-entry {
+ /* The color of <hr>. */
+ border-bottom: 1px solid #eee;
+}