---
layout: layouts/base.njk
---
<article class="post">
<h1>{{ title | safe }}</h1>
{% if not hideMetadata %}
<div class="post-metadata">
	{% if author %}
	{% if author.profilePic %}
	<img class="profilePic" src="{{ author.profilePic }}">
	{% endif %}
	<div class="post-metadata-copy">
		<p>{% if author.url %}<a href="{{ author.url }}">{% endif %}
		{% if author.name %}By {{ author.name }}{% endif %}{% if author.url %}</a>&nbsp;•&nbsp;{% endif %}<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time></p>

	{% else %}
	{% if metadata.author.profilePic %}
	<img class="profilePic" src="{{ metadata.author.profilePic }}">
	{% endif %}
	<div class="post-metadata-copy">
		<p>{% if metadata.author.url %}<a href="{{ metadata.author.url }}">{% endif %}
		{% if metadata.author.name %}By {{ metadata.author.name }}{% endif %}{% if metadata.author.url %}</a>&nbsp;•&nbsp;{% endif %}<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time></p>

	{% endif %}


		<ul>
			{%- for tag in tags | filterTagList %}
			{%- set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
			<li>
				<a
				href="{{ tagUrl }}"
				class="post-tag">
					{{ tag }}&nbsp;
				</a>
			</li>
			{%- endfor %}
		</ul>
	</div>
</div>
{% endif %}
{{ content | safe }}
</article>
{% include "mastodonComments.njk" %}
