Add ordered and featured feature collections
This commit is contained in:
1 parent
59638f6ab3
commit
8f46909ebf
3 files changed
+16
-2
No files matched your search
@@ -27,7 +27,7 @@ layout: base.njk
|
||||
<h2>Related features</h2>
|
||||
<div class="actions">
|
||||
{% for slug in related %}
|
||||
{% for item in collections.features %}
|
||||
{% for item in collections.sortedFeatures %}
|
||||
{% if item.fileSlug == slug %}
|
||||
<a class="button secondary" href="{{ item.url }}">{{ item.data.title }}</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in new issue
Block a user