aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-08-08 03:09:34 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-08-08 03:09:34 +0300
commitaa40d59cea181bea75650a132ade4d920d8704f9 (patch)
tree9d74a244620d91bcb8f869003da7d722e4cde8c3
parentREADME update (diff)
downloadsorting-algorithms-aa40d59cea181bea75650a132ade4d920d8704f9.tar.gz
sorting-algorithms-aa40d59cea181bea75650a132ade4d920d8704f9.zip
add post excerpts
-rw-r--r--index.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/index.html b/index.html
index ee46490..7fddf85 100644
--- a/index.html
+++ b/index.html
@@ -10,8 +10,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&nbsp;<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&nbsp;<span class="glyphicon glyphicon-chevron-right"></span></a>
+ </div>
+ <div class="text-muted" style="text-align: right; display: table-cell;">
+ &nbsp;<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date_to_long_string }}
+ </div>
+ </div>
+ </div>
<hr/>
{% endfor %}
<div class="text-center">