Sha256: cb8fd28983f999943458e7d206edff8c706a05c14e45871910426abc033fc075
Contents?: true
Size: 1.91 KB
Versions: 1
Compression:
Stored size: 1.91 KB
Contents
<?xml version="1.0" encoding="utf-8"?> {% if site.url %} {% assign url_base = site.url | append: site.baseurl %} {% else %} {% assign url_base = site.github.url %} {% endif %} <feed xmlns="http://www.w3.org/2005/Atom"> <generator uri="http://jekyllrb.com" version="{{ jekyll.version }}">Jekyll</generator> <link href="{{ page.url | prepend: url_base }}" rel="self" type="application/atom+xml" /> <link href="{{ url_base }}/" rel="alternate" type="text/html" /> <updated>{{ site.time | date_to_xmlschema }}</updated> <id>{{ url_base | xml_escape }}/</id> {% if site.name %} <title>{{ site.name | xml_escape }}</title> {% endif %} {% if site.description %} <subtitle>{{ site.description | xml_escape }}</subtitle> {% endif %} {% if site.author %} <author> <name>{{ site.author | xml_escape }}</name> </author> {% endif %} {% for post in site.posts | limit: 10 %} <entry> <title>{{ post.title | markdownify | strip_html | strip_newlines | xml_escape }}</title> <link href="{{ post.url | prepend: url_base }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" /> <published>{{ post.date | date_to_xmlschema }}</published> <updated>{{ post.date | date_to_xmlschema }}</updated> <id>{{ post.id | prepend: url_base | xml_escape }}</id> <content type="html">{{ post.content | markdownify | xml_escape }}</content> {% if post.author %} <author> <name>{{ post.author | xml_escape }}</name> </author> {% endif %} {% if post.category %} <category term="{{ post.category | xml_escape }}" /> {% endif %} {% for tag in post.tags %} <category term="{{ tag | xml_escape }}" /> {% endfor %} {% if post.excerpt %} <summary>{{ post.excerpt | markdownify | strip_html | strip_newlines | xml_escape }}</summary> {% endif %} </entry> {% endfor %} </feed>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-feed-0.1.3 | lib/feed.xml |