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

@ -104,6 +104,7 @@
/articles/system-users-null-users /articles/null-users-and-system-users-in-drupal
/articles/tweets-from-drupalcamp-london /articles/tweets-drupalcamp-london
/blog /articles
/blog.xml /feed
/blog/* /articles/:splat
/book /test-driven-drupal
/consulting /

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' %}

View file

@ -1,5 +1,5 @@
---
permalink: blog.xml
permalink: /feed.xml
use: [posts]
---
<?xml version="1.0" encoding="utf-8"?>