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