mirror of
https://github.com/codeninjasuk/codeninjasuk.github.io.git
synced 2024-12-01 11:36:51 -05:00
15 lines
371 B
HTML
15 lines
371 B
HTML
{% assign entries = site[include.collection] %}
|
|
|
|
{% if include.sort_by %}
|
|
{% assign entries = entries | sort: include.sort_by %}
|
|
{% endif %}
|
|
|
|
{% if include.sort_order == 'reverse' %}
|
|
{% assign entries = entries | reverse %}
|
|
{% endif %}
|
|
|
|
{%- for post in entries -%}
|
|
{%- unless post.hidden -%}
|
|
{% include archive-single.html %}
|
|
{%- endunless -%}
|
|
{%- endfor -%}
|