diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-08-08 03:08:29 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-08-08 03:08:29 +0300 |
commit | 78d71035a381f07b1991ed8dbb3d719b3552e3ca (patch) | |
tree | 429fcfb7d0f2d593be98f54a14bc0c2662d4949b /index.html | |
parent | README update (diff) | |
download | jekyll-theme-78d71035a381f07b1991ed8dbb3d719b3552e3ca.tar.gz jekyll-theme-78d71035a381f07b1991ed8dbb3d719b3552e3ca.zip |
add post excerpts
Diffstat (limited to '')
-rw-r--r-- | index.html | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -9,8 +9,17 @@ group: "navigation" {% else %} {% for post in paginator.posts %} <h2>{{ post.title }}</h2> - <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date_to_long_string }}</p> - <a class="btn btn-primary" href="{{ site.baseurl }}{{ post.url }}">Read More <span class="glyphicon glyphicon-chevron-right"></span></a> + {{ post.excerpt }} + <div style="display: table; width: 100%;"> + <div style="display: table-row;"> + <div style="display: table-cell;"> + <a class="btn btn-primary" href="{{ site.baseurl }}{{ post.url }}">Read More <span class="glyphicon glyphicon-chevron-right"></span></a> + </div> + <div class="text-muted" style="text-align: right; display: table-cell;"> + <span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date_to_long_string }} + </div> + </div> + </div> <hr/> {% endfor %} <div class="text-center"> |