Quantcast
Channel: Generate category-specific RSS feed using Jekyll using GitHub pages - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by multipolygon for Generate category-specific RSS feed using Jekyll using GitHub pages

$
0
0

Expanding on JoostS answer:

---layout: null---<?xml version="1.0" encoding="UTF-8" ?><rss version="2.0"><channel><title>{{ site.title }}</title><description>{{ site.description }}</description><link>{{ site.url }}</link><lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate><pubDate>{{ site.time | date_to_rfc822 }}</pubDate><ttl>1800</ttl>    {% for post in site.pages %}    {% if post.title %}<item><title>{{ post.title }}</title><description>{{ post.description }}</description><link>{{ site.url }}{{ post.url }}</link><guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid><pubDate>{{ post.date | date_to_rfc822 }}</pubDate></item>    {% endif %}    {% endfor %}</channel></rss>

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>