crisp-theme/_includes/post_link.njk

8 lines
356 B
Text

<li class="post-link">
<a {%if page.url == post.url %}class="current-page"{% endif %}
href="{{ post.url }}">{{ post.data.title }}</a>
<div class="about">
{% if post.data.description %}<p>{{ post.data.description }}</p>{% endif %}
<p><time datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time></p>
</div>
</li>