< link href = " {{ metadata.url }}" /> < updated> {{ collections.posts | getNewestCollectionItemDate | dateToRfc3339 }}</ updated> < id> {{ metadata.url }}/</ id> < author> < name> {{ metadata.author.name }}</ name> < email> {{ metadata.author.email }}</ email> </ author> {%- for post in collections.posts | reverse %} {%- if loop.index0 < 10 -%} {% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %} {%- set emailReplyHTML -%}< p> < a href = " mailto:michael@mharley.dev?subject=Re: “{{ post.data.title }}”" > Reply via email</ a> </ p> {%- endset -%} {%- set finalHTMLContent = [post.templateContent, emailReplyHTML] | join -%} < entry> < title> {{ post.data.title }}</ title> < link href = " {{ absolutePostUrl }}" /> < updated> {{ post.date | dateToRfc3339 }}</ updated> < id> {{ absolutePostUrl }}</ id> < content type = " html" > {{ finalHTMLContent | htmlToAbsoluteUrls(absolutePostUrl) }} </ content> </ entry> {%- endif -%} {%- endfor %}</ feed> If you're not providing Reply-to links in your RSS feed, I recommend that you do. I love it and I think it's a great way to encourge more interaction from people reading your content.
Reply via email
#eleventy #obsolete29 #rss