couple small fixes and tweaks
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-09-23 16:58:18 -07:00
parent 52c8a8cc60
commit 20bc6b185c
4 changed files with 7 additions and 15 deletions
+4 -4
View File
@@ -33,10 +33,10 @@ layout: base.njk
</article>
<section class="related-providers">
{%- set relevantTags = tags | removeBasicTags %}
{%- set providerlist = collections.posts | filterByTags(relevantTags) | excludeFromCollection(page.url) | randomize | head(3) %}
{%- if providerlist.length %}
{% set relevantTags = tags | removeBasicTags %}
{% set providerlist = collections.providers | filterByTags(relevantTags) | excludeFromCollection(page.url) | randomize | head(3) %}
{% if providerlist.length %}
<h2>related providers</h2>
{% include "providerlist.njk" %}
{%- endif %}
{% endif %}
</section>