Closed alexanderdavide closed 2 years ago
Hi @alexanderdavide, what you are describing is caused by this line in the rss.xml:
As you can see the rss.xml file expects a summary. Personally, I always set up both a description and a summary. Both variables are default page variables:
Hi @alexanderdavide, what you are describing is caused by this line in the rss.xml:
As you can see the rss.xml file expects a summary. Personally, I always set up both a description and a summary. Both variables are default page variables:
That's fine but what I'm asking is why isn't the description
front matter used as RSS <description>
element? If I am setting description
explicitly, I want it to be the description in RSS too. The summary should merely be a fallback.
I agree. As the description is also the default in the arch type, we should exchange the summary variable for the description.
Describe the bug RSS considers content or summary as
<description></>
and ignores descriptions supplied in post front matters. Also, the content's or summary's HTML tags are added which make them hard to use anyway.To Reproduce Steps to reproduce the behavior:
Alternatively, see https://anatole-demo.netlify.app/index.xml.
Expected behavior Description in front matters should be considered as
<description></>
in RSS feed.