maia.crimew.gay/src/_includes/layouts/post.njk

47 lines
2.1 KiB
Plaintext

---
subhead: blog
---
{% extends 'layouts/default.njk' %}
{% block main %}
<article>
<header class="article_header">
{% if feature_image %}
<img src="{{ feature_image }}" alt="{{ feature_alt if feature_alt else "feature image for '" + title + "'" }}" style="padding-bottom: 10px;" height="auto" width="75%" layout="responsive"/>
{% endif %}
<div class="byline">
<time datetime="{{date | date_to_datetime }}">{{ date | date_formatted }}</time>
{% if changed_date %}
<small class="updated">(updated <time datetime="{{changed_date | date_to_datetime }}">{{ changed_date | date_formatted }}</time>)</small>
{% endif %}
<span>by <span class="author by" id="author">{{ site.name }}</span></span>
{% if tags %}
<span>in
{% for tag in tags %}
<span class="tag"><a href="/posts/tagged/{{ tag | slugify }}/">{{ tag }}</a></span>{% if not loop.last %}, {% endif %}
{% endfor %}
</span>
{% endif %}
</div>
<h1>{{ title }}</h1>
<strong id="lead">{{ description }}</strong>
</header>
{% if content_warnings %}
<div class="content-warnings">
<p>
<strong>content warnings:</strong></br>
{% for cw in content_warnings %}
<span class="cw">{{ cw }}</span>{% if not loop.last %}, {% endif %}
{% endfor %}
</p>
</div>
{% endif %}
{{ content | safe }}
<a class="banner-link" href="https://ko-fi.com/nyancrimew">
<div class="kofi-banner">
if you enjoyed this or any of my other work feel free to support me on my <span class="like-a">ko-fi</span>. this is my only real source of income so anything goes a long way,
and monthly contributions help tremendously with budgeting.
</div>
</a>
</article>
{% endblock %}