Improve post list formatting.
This commit is contained in:
parent
5c4fa35905
commit
f343f2b42c
|
@ -1,12 +1,16 @@
|
||||||
<ul class="post-list">
|
<ul class="post-list">
|
||||||
{% for post in site.categories[include.category] limit:include.limit %}
|
{% for post in site.categories[include.category] limit:include.limit %}
|
||||||
<li>
|
<li style="margin-top: 30px">
|
||||||
<span class="post-meta">{{ post.date | date: "%Y-%m-%d" }}</span>
|
<h2 style="line-height: 1">
|
||||||
<h2>
|
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
|
||||||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
{{ post.title }}
|
||||||
|
</a>
|
||||||
|
<span class="post-meta">{{ post.date | date: "%Y-%m-%d" }}</span>
|
||||||
</h2>
|
</h2>
|
||||||
{{ post.excerpt }}
|
{{ post.excerpt }}
|
||||||
|
<p>
|
||||||
|
<a href="{{ post.url | prepend: site.baseurl }}">Read More...</a>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user