Update feeds
This commit is contained in:
parent
caf40657e6
commit
e837f9738f
|
@ -9,6 +9,8 @@ favicon_sizes: [ 160, 96, 32, 16 ]
|
||||||
ansible_galaxy:
|
ansible_galaxy:
|
||||||
url: https://galaxy.ansible.com/opdavies
|
url: https://galaxy.ansible.com/opdavies
|
||||||
|
|
||||||
|
author: Oliver Davies
|
||||||
|
|
||||||
availability:
|
availability:
|
||||||
part: no
|
part: no
|
||||||
full: no
|
full: no
|
||||||
|
|
31
source/blog.xml
Normal file
31
source/blog.xml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
---
|
||||||
|
permalink: blog.xml
|
||||||
|
use: [posts]
|
||||||
|
---
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
|
<title><![CDATA[{{ site.title }}]]></title>
|
||||||
|
<link href="{{ site.url }}{{ page.url }}" rel="self"/>
|
||||||
|
<link href="{{ site.url }}/"/>
|
||||||
|
<updated>{{ site.calculated_date|date('c') }}</updated>
|
||||||
|
<id>{{ site.url }}/</id>
|
||||||
|
{% if site.author or site.email %}
|
||||||
|
<author>
|
||||||
|
{% if site.author %}<name><![CDATA[{{ site.author }}]]></name>{% endif %}
|
||||||
|
</author>
|
||||||
|
{% endif %}
|
||||||
|
<generator uri="http://sculpin.io/">Sculpin</generator>
|
||||||
|
{% for post in data.posts|slice(0, 10) %}
|
||||||
|
<entry>
|
||||||
|
<title type="html"><![CDATA[{{ post.title }}]]></title>
|
||||||
|
<link href="{{ site.url }}{{ post.url }}"/>
|
||||||
|
<updated>{{ post.date|date('c') }}</updated>
|
||||||
|
<id>{{ site.url }}{{ post.url }}</id>
|
||||||
|
{% if page.blocks.excerpt %}
|
||||||
|
<content type="html"><![CDATA[{{ post.blocks.excerpt|raw }}]]></content>
|
||||||
|
{% else %}
|
||||||
|
<content type="html"><![CDATA[{{ post.blocks.content|raw }}]]></content>
|
||||||
|
{% endif %}
|
||||||
|
</entry>
|
||||||
|
{% endfor %}
|
||||||
|
</feed>
|
|
@ -1,23 +1,30 @@
|
||||||
---
|
---
|
||||||
generator: [posts_tag_index]
|
generator: [posts_tag_index]
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<title><![CDATA[{{ site.title }}]]></title>
|
||||||
<title>{{ site.title }}</title>
|
<link href="{{ site.url }}{{ page.url }}" rel="self"/>
|
||||||
<link>{{ site.url }}</link>
|
<link href="{{ site.url }}/"/>
|
||||||
<language>en</language>
|
<updated>{{ site.calculated_date|date('c') }}</updated>
|
||||||
{% if site.description %}<description>{{ site.description|raw }}</description>{% endif %}
|
<id>{{ site.url }}/</id>
|
||||||
<atom:link href="{{ site.url }}{{ page.url }}" rel="self" type="application/rss+xml" />
|
{% if site.author or site.email %}
|
||||||
<lastBuildDate>{{ site.calculated_date|date('r') }}</lastBuildDate>
|
<author>
|
||||||
|
{% if site.author %}<name><![CDATA[{{ site.author }}]]></name>{% endif %}
|
||||||
|
</author>
|
||||||
|
{% endif %}
|
||||||
|
<generator uri="http://sculpin.io/">Sculpin</generator>
|
||||||
{% for post in page.tag_posts|slice(0, 10) %}
|
{% for post in page.tag_posts|slice(0, 10) %}
|
||||||
<item>
|
<entry>
|
||||||
<title>{{ post.title }}</title>
|
<title type="html"><![CDATA[{{ post.title }}]]></title>
|
||||||
<link>{{ site.url }}{{ post.url }}</link>
|
<link href="{{ site.url }}{{ post.url }}"/>
|
||||||
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
|
<updated>{{ post.date|date('c') }}</updated>
|
||||||
<pubDate>{{ post.date|date('r') }}</pubDate>
|
<id>{{ site.url }}{{ post.url }}</id>
|
||||||
<description>{{ post.blocks.excerpt|raw }}</description>
|
{% if page.blocks.excerpt %}
|
||||||
</item>
|
<content type="html"><![CDATA[{{ post.blocks.excerpt|raw }}]]></content>
|
||||||
|
{% else %}
|
||||||
|
<content type="html"><![CDATA[{{ post.blocks.content|raw }}]]></content>
|
||||||
|
{% endif %}
|
||||||
|
</entry>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</channel>
|
</feed>
|
||||||
</rss>
|
|
||||||
|
|
Loading…
Reference in a new issue