--- #layout for the homepage --- {% include header.html %}
{% if page.content %}
{{ content }}
{% endif %}
{% if site.home-columns %}
{% for item in site.home-columns %}

{{ item.heading }}

{{ item.content }}

{% if item.button-url %} {{ item.button-label }} {% endif %}
{% endfor %}
{% endif %}
{% assign post_count = site.categories[page.show-category] | size %} {% if post_count > 0 %}
{% if page.tag-filter %}
  • {{ page.show-all-filter-label }}
  • {% assign sorted_tags = site.tags | sort %} {% for tag in sorted_tags %} {% assign zz = tag[1] | where: "category", page.show-category | sort %} {% if zz != empty %}
  • {{ tag[0] }}
  • {% endif %} {% endfor %}
{% endif %} {% assign post_limit = page.post-limit %} {% for post in site.categories[page.show-category] limit:post_limit %}
{% if post.featured-image %}

{{ post.title }}

{% if post.publishing-date %} {{ post.publishing-date }} {% endif %}

{{ post.excerpt }}

{{ site.post-button-label }}
{% else %}

{{ post.title }}

{% if post.publishing-date %} {{ post.publishing-date }} {% endif %}

{{ post.excerpt }}

{{ site.post-button-label }}
{% endif %}
{% endfor %}
{% endif %}
{% include footer.html %}