generated from inherentlee/11ty
big ol copy
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
---
|
||||
layout: base.njk
|
||||
---
|
||||
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
{{ content | safe }}
|
||||
@@ -0,0 +1,42 @@
|
||||
---
|
||||
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">
|
||||
{%- set relevantTags = tags | removeBasicTags %}
|
||||
{%- set providerlist = collections.posts | filterByTags(relevantTags) | excludeFromCollection(page.url) | randomize | head(3) %}
|
||||
{%- if providerlist.length %}
|
||||
<h2>related providers</h2>
|
||||
{% include "providerlist.njk" %}
|
||||
{%- endif %}
|
||||
</section>
|
||||
Reference in New Issue
Block a user