Files

43 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2026-09-23 16:25:59 -07:00
---
layout: base.njk
---
<article>
<h1>{{ title }}
{% if pronouns %}<span class="pronouns">{{ pronouns }}</span>{% endif %}
</h1>
<div class="post-metadata">
<p class="post-time">last updated <time datetime="{{ page.date | htmlDateString }}">{{ page.date | readableDate }}</time></p>
{% include "taglist.njk" %}
{% if location %}<p class="location">{{ location }}</p>
{% else %}<p class="online">digital-only</p>{% endif %}
</div>
{{ content | safe }}
{% if contacts %}
<h2>contact information</h2>
<ul class="contacts">
{% for contact in contacts %}
<li>
{% if contact.href %}
<a href="{{ contact.href }}" target="_blank">{{ contact.title }}</a>
{% else %}
{{ contact.title }}
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
</article>
<section class="related-providers">
2026-09-23 16:58:18 -07:00
{% set relevantTags = tags | removeBasicTags %}
{% set providerlist = collections.providers | filterByTags(relevantTags) | excludeFromCollection(page.url) | randomize | head(3) %}
{% if providerlist.length %}
2026-09-23 16:25:59 -07:00
<h2>related providers</h2>
{% include "providerlist.njk" %}
2026-09-23 16:58:18 -07:00
{% endif %}
2026-09-23 16:25:59 -07:00
</section>