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
+1 -1
View File
@@ -61,7 +61,7 @@ export default function (eleventyConfig) {
/* Filter out structural tags */
eleventyConfig.addFilter("removeBasicTags", (tags) => {
return tags.filter((tag) => ["all", "doublePagination"].indexOf(tag) === -1);
return tags.filter((tag) => ["all", "providers", "doublePagination"].indexOf(tag) === -1);
});
/* What it says on the tin */
+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>
-8
View File
@@ -6,14 +6,6 @@ title: accessibility
<section>
## program accessibility statement
tbd
</section>
<section>
## site accessibility statement
This is an accessibility statement from <span class="brand">Spoonfairies</span>.