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">
|
||||
<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 %}
|
||||
<p><time datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time></p>
|
||||
<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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue