crisp-theme/_includes/post_link.njk

4 lines
279 B
Text

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