crisp-theme/_includes/post_link.njk

9 lines
392 B
Text
Raw Normal View History

2025-04-18 11:28:28 -04:00
<li class="post-link">
<a {%if page.url == post.url %}class="current-page"{% endif %}
href="{{ post.url }}">{{ post.data.title }}</a>
{% if post.data.description %}<p>{{ post.data.description }}</p>
{% elseif post.data.series %}<p>- {{ post.data.series.name }}</p>
{% endif %}
<p><time datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time></p>
</li>