diff --git a/_layouts/frontpage.html b/_layouts/frontpage.html index 8c716ac..89b5368 100644 --- a/_layouts/frontpage.html +++ b/_layouts/frontpage.html @@ -10,75 +10,98 @@ format: blog-index +{% comment %} +* +* First check, if widget is empty or not by checking if there is a title +* +{% endcomment %}
{{ page.widget-1.text }}
{{ page.widget-2.text }}
{{ page.widget-3.text }}
{% if post.subheadline %}{{ post.subheadline }}{% endif %}
-- {% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% elsif post.teaser %}{{ post.teaser | strip_html | escape }}{% endif %} - {{ site.data.language.read_more }} -
- {% endfor %} -{{ post.subheadline }}
{% endif %} ++ {% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% elsif post.teaser %}{{ post.teaser | strip_html | escape }}{% endif %} + {{ site.data.language.read_more }} +
+ {% endfor %} +{{ site.data.language.more_articles }}
- {% include list-posts.html entries='3' offset='1' %} -{{ site.data.language.more_articles }}
+ {% include list-posts.html entries='3' offset='1' %} +