Templates for rendering RSS feeds for your Jekyll blog
The Jekyll RSS Feed Templates is a collection of Liquid templates that can be used to render RSS feeds for a Jekyll blog. The templates provide four different types of feeds – feed.xml, feed.category.xml, feed.links.xml, and feed.articles.xml. By customizing the _config.yml file, users can easily set the title, description, and URL for their site in the feed templates. The templates also come with an empty YAML Front Matter block, which is required for Jekyll to process the Liquid code. The feeds can be validated using the W3C Validator, and users can also ensure that the RSS feeds are discoverable by browsers and bots by adding proper link tags to their Jekyll layout files. Additionally, there is a sister project called jekyll-json-feeds for users who are interested in JSON feed templates for their Jekyll blog.
Update the _config.yml file by adding the necessary lines for the feed customization (title, description, and URL).
site:
name: Your Site Name
description: Your Site Description
url: yoursite.com
Copy one of the xml files (e.g., feed.xml) to the root directory of your Jekyll blog.
Run the Jekyll command to generate the site (_site folder).
In the generated _site folder, you will find the properly formatted feed at feed.xml.
The Jekyll RSS Feed Templates provide a convenient way to generate RSS feeds for your Jekyll blog. With four types of feeds available, users can select the content they want to include. By customizing the _config.yml file, users can easily set the title, description, and URL for their site in the feed templates. The templates also come with an empty YAML Front Matter block, which is required for Jekyll to process the Liquid code. Additionally, users can validate their feeds using the W3C Validator and make them discoverable by browsers and bots by adding proper link tags to their layout files. Overall, these templates offer a useful solution for managing RSS feeds in Jekyll blogs.