generated from inherentlee/11ty
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ export default function (eleventyConfig) {
|
|||||||
|
|
||||||
/* Filter out structural tags */
|
/* Filter out structural tags */
|
||||||
eleventyConfig.addFilter("removeBasicTags", (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 */
|
/* What it says on the tin */
|
||||||
|
|||||||
@@ -33,10 +33,10 @@ layout: base.njk
|
|||||||
</article>
|
</article>
|
||||||
|
|
||||||
<section class="related-providers">
|
<section class="related-providers">
|
||||||
{%- set relevantTags = tags | removeBasicTags %}
|
{% set relevantTags = tags | removeBasicTags %}
|
||||||
{%- set providerlist = collections.posts | filterByTags(relevantTags) | excludeFromCollection(page.url) | randomize | head(3) %}
|
{% set providerlist = collections.providers | filterByTags(relevantTags) | excludeFromCollection(page.url) | randomize | head(3) %}
|
||||||
{%- if providerlist.length %}
|
{% if providerlist.length %}
|
||||||
<h2>related providers</h2>
|
<h2>related providers</h2>
|
||||||
{% include "providerlist.njk" %}
|
{% include "providerlist.njk" %}
|
||||||
{%- endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -6,14 +6,6 @@ title: accessibility
|
|||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
|
||||||
## program accessibility statement
|
|
||||||
|
|
||||||
tbd
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section>
|
|
||||||
|
|
||||||
## site accessibility statement
|
## site accessibility statement
|
||||||
|
|
||||||
This is an accessibility statement from <span class="brand">Spoonfairies</span>.
|
This is an accessibility statement from <span class="brand">Spoonfairies</span>.
|
||||||
|
|||||||
Reference in New Issue
Block a user