Skip to content

Instantly share code, notes, and snippets.

@dougbtv
Created November 8, 2016 21:19
Show Gist options
  • Save dougbtv/aa727262c1f57564caf551c9d7c0de62 to your computer and use it in GitHub Desktop.
Save dougbtv/aa727262c1f57564caf551c9d7c0de62 to your computer and use it in GitHub Desktop.
author comments date layout slug title category
dougbtv
true
2016-10-31 11:35:00 -0500
post
openshift-on-openstack-easy-mode
OpenShift-on-OpenStack - Part 1 - "Easy Mode"
nfvpe

content here, etc... blah blah.

---
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.name | xml_escape }} - NFVPE</title>
<description>Posts categorized as 'nfvpe'</description>
<link>{{ site.url }}</link>
<atom:link href="{{ site.url }}{{ page.path }}" rel="self" type="application/rss+xml" />
{% for post in site.categories.nfvpe limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
{% if post.excerpt %}
<description>{{ post.excerpt | xml_escape }}</description>
{% else %}
<description>{{ post.content | xml_escape }}</description>
{% endif %}
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
</item>
{% endfor %}
</channel>
</rss>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment