Reorganize post listing

pull/1/head
mat ess 2022-09-16 12:57:45 -04:00
parent 89fdd25ced
commit e8906dba0d
1 changed files with 10 additions and 13 deletions

View File

@ -10,6 +10,16 @@
<a href={{ page.permalink }}>{{page.title}}</a>
</h2>
{% if page.description %}
<div class="description">
{{ page.description }}
</div>
{% elif page.summary %}
<div class="description">
{{ page.summary }}&hellip;
</div>
{% endif %}
<div class="meta">
posted on <time>{{ page.date | date(format="%Y-%m-%d") }}</time>
</div>
@ -17,19 +27,6 @@
{{ post_macros::tags(page=page) }}
<br />
<div class="description">
{% if page.description %}
{{ page.description }}
{% elif page.summary %}
{{ page.summary }}&hellip;
{% else %}
{% set hide_read_more = true %}
{% endif %}
</div>
{% if not hide_read_more %}
<a class="readmore" href={{ page.permalink }}>Read more ⟶</a>
{% endif %}
</li>
{% endfor -%}