Lots of folks read blogs via syndicated feeds, so it can’t hurt to provide them with a little additional content, whether it be a link to the original post, a copyright statement, or even links your social media profiles, in the footer of each feed entry.
Example Footer for Feed Entry
The first step is to create an include for your entry footer, within which you’ll put whatever content you’d like your readers to see.
You’ll then want to include your feed footer within the include for your feed’s entries, which will probably look a lot like the following (see the {% include feed-footer.html %}
):
Also be sure to properly escape the data in your posts. I prefer to use CDATA
, but Jekyll also comes with a Liquid filter to escape XML: {{ post.content | xml_escape }}
.