chaospott-site/blog.html

30 lines
820 B
HTML
Raw Normal View History

2014-10-26 13:11:10 +00:00
---
layout: default
---
{% for post in site.posts %}
{% if forloop.first == false %}
<hr>
{% endif %}
2014-11-04 00:58:48 +00:00
<div class="container">
2014-10-26 13:11:10 +00:00
<div class="row">
2014-11-04 00:58:48 +00:00
<div class="col-md-12 post">
<header class="post-header">
<h1 class="post-title">{{ post.title }}</h1>
<p class="post-meta">{{ post.date | date: "%b %-d, %Y" }}{% if post.author %} • {{ post.author }}{% endif %}{% if post.meta %} • {{ post.meta }}{% endif %}</p>
</header>
<article class="post-content">
{{post.content}}
{% assign wordcount = post.content | number_of_words %}
{% if wordcount > 200 %}
<p><a class="btn btn-default" href="{{ post.url | prepend: site.baseurl }}" role="button">&gt; Weiterlesen</a></p>
{% endif %}
</article>
2014-10-26 13:11:10 +00:00
</div>
</div>
</div>
{% endfor %}