From 78d71035a381f07b1991ed8dbb3d719b3552e3ca Mon Sep 17 00:00:00 2001
From: Egor Tensin <Egor.Tensin@gmail.com>
Date: Sat, 8 Aug 2015 03:08:29 +0300
Subject: add post excerpts

---
 ...15-07-03-std-call-once-bug-in-visual-studio-2012-2013.md |  4 ++++
 index.html                                                  | 13 +++++++++++--
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/_posts/2015-07-03-std-call-once-bug-in-visual-studio-2012-2013.md b/_posts/2015-07-03-std-call-once-bug-in-visual-studio-2012-2013.md
index 197d8ff..68c5f95 100644
--- a/_posts/2015-07-03-std-call-once-bug-in-visual-studio-2012-2013.md
+++ b/_posts/2015-07-03-std-call-once-bug-in-visual-studio-2012-2013.md
@@ -1,6 +1,10 @@
 ---
 title: std::call_once bug in Visual Studio 2012/2013
 layout: post
+excerpt: >
+  <p>In this post, I will describe a neat bug I've stumbled upon in C++
+  Standard Library implementation shipped with Microsoft Visual Studio
+  2012/2013.</p>
 ---
 
 ### Abstract
diff --git a/index.html b/index.html
index 69f7259..3d525ab 100644
--- a/index.html
+++ b/index.html
@@ -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&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">
-- 
cgit v1.2.3