Change /blog.xml to /feed
This commit is contained in:
parent
8f9d23caec
commit
70378a2159
|
@ -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 /
|
||||
|
|
|
@ -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' %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
permalink: blog.xml
|
||||
permalink: /feed.xml
|
||||
use: [posts]
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
Loading…
Reference in a new issue