First wave of customizations!

This commit is contained in:
2016-04-11 15:42:53 -04:00
parent 90d381b303
commit 66b8cd2648
4 changed files with 21 additions and 60 deletions

View File

@ -3,21 +3,23 @@ layout: default
---
<div class="home">
{% for category in site.categories %}
<h1 class="page-heading">{{ category }}</h1>
<h1 class="page-heading">Posts</h1>
<ul class="post-list">
{% for post in site.categories.{{category}} %}
<li>
<span class="post-meta">{{ post.date | date: "%Y-%m-%d" }}</span>
<ul class="post-list">
{% for post in site.posts %}
<li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
</li>
{% endfor %}
</ul>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
</li>
{% endfor %}
</ul>
{% endfor %}
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>