Rip out categories entirely, various bits of cleanup, and put all posts on the main page (for now).

This commit is contained in:
2019-12-04 20:24:14 -05:00
parent 5d6a616f45
commit 0fe4708ecf
12 changed files with 32 additions and 92 deletions

View File

@ -1,18 +1,16 @@
<ul class="post-list">
{% for post in site.posts limit:include.limit %}
{% if include.categories contains post.category %}
<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 %}
{% for post in site.posts %}
<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>