aboutsummaryrefslogtreecommitdiffstats
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/post-preview.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/_includes/post-preview.html b/_includes/post-preview.html
new file mode 100644
index 0000000..d86c92c
--- /dev/null
+++ b/_includes/post-preview.html
@@ -0,0 +1,10 @@
+<div class="post">
+ <h2 id="{{ post.title | slugify }}">
+ <a href="{{ post.url }}">{{ post.title }}</a>
+ </h2>
+ {{ post.excerpt }}
+ <p>
+ <a href="{{ post.url }}">read more...</a>
+ </p>
+ <small><p>{{ post.date | date_to_string }}</p></small>
+</div>