aboutsummaryrefslogtreecommitdiff
path: root/blog.html
diff options
context:
space:
mode:
Diffstat (limited to 'blog.html')
-rw-r--r--blog.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/blog.html b/blog.html
new file mode 100644
index 0000000..0a9f265
--- /dev/null
+++ b/blog.html
@@ -0,0 +1,27 @@
+---
+layout: default
+title: Blog
+---
+
+<h1>Blog</h1>
+
+<ul class="posts">
+ {% for post in site.posts %}
+ <li>
+ <article class="post">
+ <header>
+ <time datetime="{{ post.date }}">{{ post.date | date: "%m.%d.%Y" }}</time>
+ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
+ </header>
+
+ <div class="entry">
+ {{ post.content | truncatewords:85}}
+
+ <p class="read-more">
+ <a href="{{ post.url }}">Read more</a>
+ </p>
+ </div>
+ </article>
+ </li>
+ {% endfor %}
+</ul>