Change /blog.xml to /feed

This commit is contained in:
Oliver Davies 2019-03-06 21:21:16 +00:00
parent 8f9d23caec
commit 70378a2159
3 changed files with 10 additions and 2 deletions

View file

@ -10,7 +10,14 @@ use: [posts]
{% endblock %}
{% block content %}
<div class="-mt-4 -mx-4 spaced-y-4">
<header class="mb-6">
<p class="text-lg">
Everything I've ever published on my site, in reverse chronological order.
You can also subscribe to my articles via <a href="/articles/feed">the RSS feed</a>.
</p>
</header>
<div class="-mx-4 spaced-y-4">
{% for post in data.posts %}
<article class="p-4 {{ post.draft ? 'bg-blue-lighter' }}">
{% include 'blog/post-summary' %}