Change blog to articles

This commit is contained in:
Oliver Davies 2019-01-15 08:35:49 +00:00
parent 5bc9e89704
commit 35fb4aa607
2 changed files with 15 additions and 1 deletions

View file

@ -1,24 +0,0 @@
---
layout: default
title: Blog
use: [posts]
---
{% block page_title_wrapper %}
<h1 class="leading-tight mb-8">
{% block page_title %}{{ page.title }}{% endblock %}
</h1>
{% endblock %}
{% block content %}
<ul class="list-reset -mt-4 -mx-4">
{% for post in data.posts %}
<li class="p-4 mb-6 {{ post.draft ? 'bg-blue-lighter' }}">
{% include 'blog/post-summary' %}
</li>
{% endfor %}
</ul>
{% endblock %}
{% block scripts %}
<script>hljs.initHighlightingOnLoad();</script>
{% endblock %}