--- layout: default format: blog-index ---
{% comment %} * * First check, if there is a call for action-button * {% endcomment %} {% if page.callforaction.url contains 'http' %} {% assign url = '' %} {% else %} {% assign url = site.url %} {% endif %} {% if page.callforaction %}
{{ page.callforaction.text }}
{% endif %} {% comment %} * * First check, if widget is empty or not by checking if there is a title * {% endcomment %}
{% if page.widget1.title %} {% include _frontpage-widget.html widget=page.widget1 %} {% endif %} {% if page.widget2.title %} {% include _frontpage-widget.html widget=page.widget2 %} {% endif %} {% if page.widget3.title %} {% include _frontpage-widget.html widget=page.widget3 %} {% endif %}
{% comment %} * * First check, if there are any posts at all * {% unless site.posts == empty %}
{% for post in site.posts limit:1 %} {% if post.image.homepage %}

{{ page.title escape_once }}

{% if post.image.caption_url && post.image.caption %}

{{ post.image.caption }}

{% endif %} {% else post.image.homepage == NULL %}

{{ site.data.language.new_blog_entries }}

{% endif %} {% endfor %}
{% for post in site.posts limit:1 %} {% if post.subheadline %}

{{ post.subheadline }}

{% endif %}

{{ post.title }}

{% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% else post.teaser %}{{ post.teaser | strip_html | escape }}{% endif %} {{ site.data.language.read_more }}

{% endfor %}

{{ site.data.language.more_articles }}

{% include list-posts entries='3' offset='1' %}
{% endunless %} {% endcomment %} {% comment %} * * Finally, if there is content, spit it out. * {% endcomment %}
{{ content }}