Improve post list formatting.

This commit is contained in:
Anna Rose 2016-05-04 15:02:22 -04:00
parent 5c4fa35905
commit f343f2b42c

View File

@ -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>