--- #layout for subpages --- {% include header.html %}

{{ page.title }}

{{ content }}
{% if page.show-category %} {% 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 %} {% endif %}
{% include footer.html %}