2018-03-20 17:45:28 +01:00
|
|
|
{% assign entries = site[include.collection] %}
|
|
|
|
|
2021-02-06 02:37:31 +01:00
|
|
|
{% if include.sort_by %}
|
|
|
|
{% assign entries = entries | sort: include.sort_by %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if include.sort_order == 'reverse' %}
|
|
|
|
{% assign entries = entries | reverse %}
|
2018-03-20 17:45:28 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{%- for post in entries -%}
|
2020-03-04 22:09:24 +01:00
|
|
|
{%- unless post.hidden -%}
|
|
|
|
{% include archive-single.html %}
|
|
|
|
{%- endunless -%}
|
2018-03-20 17:45:28 +01:00
|
|
|
{%- endfor -%}
|