Some changes to display of post links
This commit is contained in:
parent
c0ad7e3cb0
commit
6d3e953f99
2 changed files with 6 additions and 5 deletions
|
@ -1,8 +1,9 @@
|
||||||
<li class="post-link">
|
<li class="post-link">
|
||||||
<a {%if page.url == post.url %}class="current-page"{% endif %}
|
<a {%if page.url == post.url %}class="current-page"{% endif %}
|
||||||
href="{{ post.url }}">{{ post.data.title }}</a>
|
href="{{ post.url }}">{{ post.data.title }}</a>
|
||||||
{% if post.data.description %}<p>{{ post.data.description }}</p>
|
<div class="about">
|
||||||
{% elseif post.data.series %}<p>- {{ post.data.series.name }}</p>
|
{% if post.data.description %}<p>{{ post.data.description }}</p>{% endif %}
|
||||||
{% endif %}
|
|
||||||
<p><time datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time></p>
|
<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>
|
</li>
|
||||||
|
|
|
@ -71,6 +71,6 @@ footer img {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-link > p {
|
.post-link p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue