Files
nathanupchurch.com/_includes/statusList.njk

37 lines
895 B
Plaintext

<section class="postlist microblog-list">
{% if postlistHeaderText %}<h2>{{ postlistHeaderText }}</h2>{% endif %}
<div class="postlist-item-container">
{% for status in postslist %}
<article class="post microblog-post">
<div class="microblog-status card">
<span class="microblog-emoji">{{ status.data.emoji }}</span>
<div class="microblog-status-copy">
<p>
<span class="status-metadata">
{% if metadata.author.url %}
<a href="{{ metadata.author.url }}">
{% endif %}
{% if metadata.author.name %}
{{ metadata.author.name }}
{% endif %}
{% if metadata.author.url %}
</a><br />
{% endif %}
</span>
{{ status.data.comment }}<br />
<span class="status-metadata">
{{ status.date | niceDate }}
</span>
</p>
</div>
</div>
</article>
{% endfor %}
</div>
</section>