- commit
- 6d3e953
- parent
- c0ad7e3
- author
- cheddar
- date
- 2025-04-18 18:17:38 +0200 CEST
Some changes to display of post links
2 files changed,
+6,
-5
+5,
-4
1@@ -1,8 +1,9 @@
2 <li class="post-link">
3 <a {%if page.url == post.url %}class="current-page"{% endif %}
4 href="{{ post.url }}">{{ post.data.title }}</a>
5- {% if post.data.description %}<p>{{ post.data.description }}</p>
6- {% elseif post.data.series %}<p>- {{ post.data.series.name }}</p>
7- {% endif %}
8- <p><time datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time></p>
9+ <div class="about">
10+ {% if post.data.description %}<p>{{ post.data.description }}</p>{% endif %}
11+ <p><time datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time></p>
12+ {% if post.data.series %}<p>Series - {{ post.data.series.name }}</p>{% endif %}
13+ </div>
14 </li>
+1,
-1
1@@ -71,6 +71,6 @@ footer img {
2 margin-bottom: 12px;
3 }
4
5-.post-link > p {
6+.post-link p {
7 margin: 0;
8 }