ExtraStatic: powerful and easy publishing

Skip to content

Add RSS

Chris Dawson requested to merge add_rss into main

Adds RSS feeds.

You must provide both the filename and the link URL as follows.

You should also add to the links and link an RSS feed.

rss:
  filename: feed.rss
  link: https://blog.svekyll.com
  include_body: true
  truncate: true
links:
  - 
    link: /feed.rss
    text: 'RSS'
    icon: 'rss'

A few notes on the attributes:

  • filename: the filename to write, could be feed.rss or rss.xml or whatever you want.
  • link: the canonical URL where your site is located
  • include_body: whether to include the body inside the <description/> tag. If this is false, just include the description from the post YAML front matter, or leave empty.
  • truncate: whether to truncate the text and only provide a partial summary, with a link to read more on the site. The default truncate size is 500 characters. This will chop your markdown and then convert it, which means it can break markdown in the middle.
Edited by Chris Dawson

Merge request reports

Loading