From 70378a2159bc5b33c0efc14673dc13501aa5d407 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 6 Mar 2019 21:21:16 +0000 Subject: [PATCH] Change /blog.xml to /feed --- source/_redirects | 1 + source/articles/archive.html.twig | 9 ++++++++- source/{blog.xml => feed.xml} | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) rename source/{blog.xml => feed.xml} (98%) diff --git a/source/_redirects b/source/_redirects index c05f879f..651a2d21 100644 --- a/source/_redirects +++ b/source/_redirects @@ -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 / diff --git a/source/articles/archive.html.twig b/source/articles/archive.html.twig index 411922c0..92a897d4 100644 --- a/source/articles/archive.html.twig +++ b/source/articles/archive.html.twig @@ -10,7 +10,14 @@ use: [posts] {% endblock %} {% block content %} -
+
+

+ Everything I've ever published on my site, in reverse chronological order. + You can also subscribe to my articles via the RSS feed. +

+
+ +
{% for post in data.posts %}
{% include 'blog/post-summary' %} diff --git a/source/blog.xml b/source/feed.xml similarity index 98% rename from source/blog.xml rename to source/feed.xml index a99ba174..8711e78c 100644 --- a/source/blog.xml +++ b/source/feed.xml @@ -1,5 +1,5 @@ --- -permalink: blog.xml +permalink: /feed.xml use: [posts] ---