A bunch of layout changes to support a new category and make everything work better.

This commit is contained in:
2016-05-22 21:49:37 -04:00
parent a053ac1be7
commit f5320c3717
8 changed files with 51 additions and 20 deletions

View File

@ -0,0 +1,18 @@
<ul class="post-list">
{% for post in site.posts limit:include.limit %}
{% if post.main != false && (site.category_metadata[post.category][main] || post.main == true) %}
<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>
{% endif %}
{% endfor %}
</ul>