File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{% assign collection = site.collections | find: "label", {{include.collection}} %}
2- {% if collection %}
2+ {% if collection and collection.docs %}
33 {% assign docs = collection.docs %}
44 {% if include.sort-by %}
55 {% assign docs = docs | sort: {{include.sort-by}} %}
1010{% endif %}
1111
1212< div class ="articles ">
13- {% if collection %}
13+ {% if docs %}
1414 {% for post in docs limit:{{include.limit}} %}
1515 {% if post.link %}
1616 {% assign location = post.link %}
Original file line number Diff line number Diff line change 11{% assign collection = site.collections | find: "label", {{include.collection}} %}
2- {% if collection %}
2+ {% if collection and collection.docs %}
33 {% assign docs = collection.docs | sort: "date" %}
44 {% if include.sort-by %}
55 {% assign docs = docs | sort: {{include.sort-by}} %}
1010{% endif %}
1111
1212< div class ="cards ">
13- {% if collection %}
13+ {% if docs %}
1414 {% for post in docs limit:{{include.limit}} %}
1515 {% if post.link %}
1616 {% assign location = post.link %}
You can’t perform that action at this time.
0 commit comments