From e837f9738f5b435168db8765fa9bccb30d187843 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 3 Mar 2018 12:24:31 +0000 Subject: [PATCH] Update feeds --- app/config/sculpin_site.yml | 2 ++ source/blog.xml | 31 +++++++++++++++++++++++++ source/blog/tags/tag.xml | 45 +++++++++++++++++++++---------------- 3 files changed, 59 insertions(+), 19 deletions(-) create mode 100644 source/blog.xml diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index 24d88ae6..1fa20e85 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -9,6 +9,8 @@ favicon_sizes: [ 160, 96, 32, 16 ] ansible_galaxy: url: https://galaxy.ansible.com/opdavies +author: Oliver Davies + availability: part: no full: no diff --git a/source/blog.xml b/source/blog.xml new file mode 100644 index 00000000..767ba261 --- /dev/null +++ b/source/blog.xml @@ -0,0 +1,31 @@ +--- +permalink: blog.xml +use: [posts] +--- + + + <![CDATA[{{ site.title }}]]> + + + {{ site.calculated_date|date('c') }} + {{ site.url }}/ + {% if site.author or site.email %} + + {% if site.author %}{% endif %} + + {% endif %} + Sculpin + {% for post in data.posts|slice(0, 10) %} + + <![CDATA[{{ post.title }}]]> + + {{ post.date|date('c') }} + {{ site.url }}{{ post.url }} + {% if page.blocks.excerpt %} + + {% else %} + + {% endif %} + + {% endfor %} + diff --git a/source/blog/tags/tag.xml b/source/blog/tags/tag.xml index dca0b7d4..20b5216f 100644 --- a/source/blog/tags/tag.xml +++ b/source/blog/tags/tag.xml @@ -1,23 +1,30 @@ --- generator: [posts_tag_index] --- - - - - {{ site.title }} - {{ site.url }} - en - {% if site.description %}{{ site.description|raw }}{% endif %} - - {{ site.calculated_date|date('r') }} - {% for post in page.tag_posts|slice(0, 10) %} - - {{ post.title }} - {{ site.url }}{{ post.url }} - {{ site.url }}{{ post.url }} - {{ post.date|date('r') }} - {{ post.blocks.excerpt|raw }} - + + + <![CDATA[{{ site.title }}]]> + + + {{ site.calculated_date|date('c') }} + {{ site.url }}/ + {% if site.author or site.email %} + + {% if site.author %}{% endif %} + + {% endif %} + Sculpin + {% for post in page.tag_posts|slice(0, 10) %} + + <![CDATA[{{ post.title }}]]> + + {{ post.date|date('c') }} + {{ site.url }}{{ post.url }} + {% if page.blocks.excerpt %} + + {% else %} + + {% endif %} + {% endfor %} - - +