cheddar
·
2025-04-18
post_link.njk
1<li class="post-link">
2 <a {%if page.url == post.url %}class="current-page"{% endif %}
3 href="{{ post.url }}">{{ post.data.title }}</a>
4 <div class="about">
5 {% if post.data.description %}<p>{{ post.data.description }}</p>{% endif %}
6 <p><time datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time></p>
7 </div>
8</li>