diff options
author | Barry Clark <barry@barryclark.co> | 2014-02-07 08:45:09 -0500 |
---|---|---|
committer | Barry Clark <barry@barryclark.co> | 2014-02-07 08:45:09 -0500 |
commit | c3e313bd13ac8e9def3e201743053a3ce0749c6a (patch) | |
tree | 4b2b91d7ed26dfeda39a9652730034fa2f30540a /index.html | |
parent | a6da2babe995f4731694764297413b53e501afcf (diff) | |
download | kompetenzbolzen.github.io-c3e313bd13ac8e9def3e201743053a3ce0749c6a.tar.gz |
Added blog to front page.
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 40 |
1 files changed, 18 insertions, 22 deletions
@@ -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 |