Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (28 sloc) 1.12 KB
---
title: Blog
sidebar: blog_sidebar
keywords: news, blog, updates, release notes, announcements
permalink: blog.html
toc: false
folder: blog
---
<div class="home">
<div class="post-list">
{% for post in site.posts limit:10 %}
{% capture i18n_date %}
{% assign m = post.date | date: "%-m" | minus: 1 %}
{{ post.date | date: "%-d" }}. {{ site.de.months[m] }} {{ post.date | date: "%Y" }}
{% endcapture %}
<h2><a class="post-link" href="{{ post.url | remove: "/" }}">{{ post.title }}</a></h2>
<span class="post-meta">{{ i18n_date }} /
{% for tag in post.tags %}
<a href="{{ "tag_" | append: tag | append: ".html"}}">{{tag}}</a>{% unless forloop.last %}, {% endunless%}
{% endfor %}
</span>
<p>{% if post.summary %}{{ post.summary | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ post.content | truncatewords: 50 | strip_html }}{% endif %}</p>
{% endfor %}
<p><a href="feed.xml" class="btn btn-primary navbar-btn cursorNorm" role="button">RSS Subscribe{{tag}}</a></p>
</div>
<hr />
<p>Weitere Posts findest du im <a href="blog_archive.html">Blogarchiv</a>. </p>
</div>