blog.html 1.12 KB
Newer Older
Art4's avatar
Art4 committed
1
2
3
4
5
6
7
8
9
10
11
---
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">
12
13
14
15
16
{% 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 %}
Art4's avatar
Art4 committed
17
    <h2><a class="post-link" href="{{ post.url | remove: "/" }}">{{ post.title }}</a></h2>
18
19
        <span class="post-meta">{{ i18n_date }} /
{% for tag in post.tags %}
Art4's avatar
Art4 committed
20
                <a href="{{ "tag_" | append: tag | append: ".html"}}">{{tag}}</a>{% unless forloop.last %}, {% endunless%}
21
{% endfor %}
Art4's avatar
Art4 committed
22
        </span>
23
        <p>{% if post.summary %}{{ post.summary | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ post.content | truncatewords: 50 | strip_html }}{% endif %}</p>
Art4's avatar
Art4 committed
24

25
{% endfor %}
Art4's avatar
Art4 committed
26
        <p><a href="feed.xml" class="btn btn-primary navbar-btn cursorNorm" role="button">RSS Subscribe{{tag}}</a></p>
27
    </div>
Art4's avatar
Art4 committed
28
29
30
31

<hr />
        <p>Weitere Posts findest du im <a href="blog_archive.html">Blogarchiv</a>. </p>
</div>