aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorGravatar Barry Clark <barry@barryclark.co> 2014-02-07 08:45:09 -0500
committerGravatar Barry Clark <barry@barryclark.co> 2014-02-07 08:45:09 -0500
commitc3e313bd13ac8e9def3e201743053a3ce0749c6a (patch)
tree4b2b91d7ed26dfeda39a9652730034fa2f30540a /index.html
parenta6da2babe995f4731694764297413b53e501afcf (diff)
downloadkompetenzbolzen.github.io-c3e313bd13ac8e9def3e201743053a3ce0749c6a.tar.gz
Added blog to front page.
Diffstat (limited to 'index.html')
-rw-r--r--index.html40
1 files changed, 18 insertions, 22 deletions
diff --git a/index.html b/index.html
index 0749045..aeae8fe 100644
--- a/index.html
+++ b/index.html
@@ -2,27 +2,23 @@
layout: default
---
-<div class="articles">
- <h2>Blog</h2>
+<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="article">
- <!-- <img src="assets/img/article1.jpg"/> -->
- <h3>Article Title</h3>
- <p>Article description text. Article description text. Article description text. Article description text. Article description text. Article description text. Article description text.</p>
- </p>
- </div>
+ <div class="entry">
+ {{ post.content | truncatewords:85}}
- <div class="article">
- <!-- <img src="assets/img/article2.jpg"/> -->
- <h3>Article Title</h3>
- <p>Article description text. Article description text. Article description text. Article description text. Article description text. Article description text. Article description text.</p>
- </p>
- </div>
-
- <div class="article">
- <!-- <img src="assets/img/article3.jpg"/> -->
- <h3>Article Title</h3>
- <p>Article description text. Article description text. Article description text. Article description text. Article description text. Article description text. Article description text.</p>
- </p>
- </div>
-</div> \ No newline at end of file
+ <p class="read-more">
+ <a href="{{ post.url }}">Read more</a>
+ </p>
+ </div>
+ </article>
+ </li>
+ {% endfor %}
+</ul> \ No newline at end of file