Skip to content

Instantly share code, notes, and snippets.

@danromero
Last active February 21, 2020 06:51
Show Gist options
  • Save danromero/7cf2e5717eede551700801af60cb0aa2 to your computer and use it in GitHub Desktop.
Save danromero/7cf2e5717eede551700801af60cb0aa2 to your computer and use it in GitHub Desktop.
Linklog RSS feed for Jekyll
---
layout: none
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" >
<generator uri="https://jekyllrb.com/" version="3.8.5">Jekyll</generator>
<link href="{{ site.url }}/feed.xml" rel="self" type="application/atom+xml" />
<link href="{{ site.url }}" rel="alternate" type="text/html" />
<updated>2020-02-20T17:02:57-08:00</updated>
<id>{{ site.url }}/feed.xml</id>
<title type="html">{{ site.title | xml_escape }}</title>
<subtitle>{{ site.description | xml_escape }}</subtitle>
{% for post in site.posts %}
<entry>
{% if post.link %}<title>&#128206; {{ post.title | xml_escape }}</title>{% else %}<title>{{ post.title | xml_escape }}</title>{% endif %}
{% if post.link %}<link href="{{ post.link }}" rel="alternate" type="text/html" title="{{ post.title }}"/>{% else %}<link href="{{ site.url }}{{ post.url }}" rel="alternate" type="text/html" title="{{ post.title }}"/>{% endif %}
<content type="html" xml:base="{{ post.link }}">{{ post.content | xml_escape }}</content>
<published>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</published>
<updated>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</updated>
{% if post.link %}<id>{{ post.link }}</id>{% else %}<id>{{ site.url }}{{ post.url }}</id>{% endif %}
<author><name>{{ post.author }}</name></author>
<summary type="html">{{ post.description }}</summary>
</entry>
{% endfor %}
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment