Merge branch 'change-feed-path'
This commit is contained in:
commit
d595d425cd
2
source/_headers
Normal file
2
source/_headers
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
/feed
|
||||||
|
Content-Type: application/xml
|
|
@ -104,6 +104,7 @@
|
||||||
/articles/system-users-null-users /articles/null-users-and-system-users-in-drupal
|
/articles/system-users-null-users /articles/null-users-and-system-users-in-drupal
|
||||||
/articles/tweets-from-drupalcamp-london /articles/tweets-drupalcamp-london
|
/articles/tweets-from-drupalcamp-london /articles/tweets-drupalcamp-london
|
||||||
/blog /articles
|
/blog /articles
|
||||||
|
/blog.xml /feed
|
||||||
/blog/* /articles/:splat
|
/blog/* /articles/:splat
|
||||||
/book /test-driven-drupal
|
/book /test-driven-drupal
|
||||||
/consulting /
|
/consulting /
|
||||||
|
|
|
@ -10,7 +10,12 @@ use: [posts]
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="-mt-4 -mx-4 spaced-y-4">
|
<header class="spaced-y-4 mb-6">
|
||||||
|
<p class="text-lg">Everything I've ever published on my site, in reverse chronological order.</p>
|
||||||
|
<p class="text-lg">You can also subscribe via <a href="/feed">the RSS feed</a>.</p>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="-mx-4 spaced-y-4">
|
||||||
{% for post in data.posts %}
|
{% for post in data.posts %}
|
||||||
<article class="p-4 {{ post.draft ? 'bg-blue-lighter' }}">
|
<article class="p-4 {{ post.draft ? 'bg-blue-lighter' }}">
|
||||||
{% include 'blog/post-summary' %}
|
{% include 'blog/post-summary' %}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
permalink: blog.xml
|
permalink: /feed
|
||||||
use: [posts]
|
use: [posts]
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
Reference in a new issue