Some changes to display of post links

This commit is contained in:
cheddar 2025-04-18 12:17:38 -04:00
parent c0ad7e3cb0
commit 6d3e953f99
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View file

@ -1,8 +1,9 @@
<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 %}
<div class="about">
{% if post.data.description %}<p>{{ post.data.description }}</p>{% endif %}
<p><time datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time></p>
{% if post.data.series %}<p>Series - {{ post.data.series.name }}</p>{% endif %}
</div>
</li>

View file

@ -71,6 +71,6 @@ footer img {
margin-bottom: 12px;
}
.post-link > p {
.post-link p {
margin: 0;
}