41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
---
|
|
layout: layouts/base.njk
|
|
---
|
|
<article class="post" data-pagefind-body>
|
|
<div class="hero-container">
|
|
<div class="hero">
|
|
<p class="post-taglist">
|
|
{%- for tag in tags | filterTagList %}
|
|
{%- set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
|
|
<a href="{{ tagUrl }}">#{{ tag }} </a>
|
|
{%- endfor %}
|
|
</p>
|
|
<h1>{{ title | markdownify | safe}}</h1>
|
|
{% if synopsis %}
|
|
<p class="post-synopsis">
|
|
{{ synopsis | markdownify | safe}}
|
|
</p>
|
|
{% endif %}
|
|
{% if tags and tags.includes('quiz') %}
|
|
<p class="post-synopsis">
|
|
{{ content | markdownify | safe}}
|
|
</p>
|
|
{% endif %}
|
|
{% if not tags.includes('quiz') %}
|
|
{% if imageURL %}
|
|
<a href="{{ imageURL }}"><img class="post-image" src="{{ imageURL }}" alt="{{ imageAlt }}"></a>
|
|
{% endif %}
|
|
<p class="post-time-author">
|
|
<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time><br>
|
|
By <a href="{% if author %}{{ author.url }}{% else %}{{ metadata.author.url }}{% endif %}">{% if author %}{{ author.name }}{% else %}{{ metadata.author.name }}{% endif %}</a></p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% if tags and not tags.includes('quiz') %}{{ content | safe }}{% endif %}
|
|
</article>
|
|
{% if tags and not tags.includes('quiz') %}
|
|
{% include "articleAuthor.njk" %}
|
|
{% include "mastodonComments.njk" %}
|
|
{% endif %}
|
|
{% include "issoCommenting.njk" %}
|