mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-23 16:59:41 +00:00
37 lines
1.6 KiB
XML
37 lines
1.6 KiB
XML
---
|
|
layout: none
|
|
---
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
|
<title type="text">{{ site.title }}</title>
|
|
<generator uri="https://github.com/jekyll/jekyll">Jekyll</generator>
|
|
<link rel="self" type="application/atom+xml" href="{{ site.url }}/feed.xml" />
|
|
<link rel="alternate" type="text/html" href="{{ site.url }}" />
|
|
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
|
<id>{{ site.url }}/</id>
|
|
<author>
|
|
<name>{{ site.owner.name }}</name>
|
|
<uri>{{ site.url }}/</uri>
|
|
<email>{{ site.owner.email }}</email>
|
|
</author>
|
|
{% for post in site.posts limit:20 %}
|
|
|
|
<entry>
|
|
<title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
|
|
<link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}" />
|
|
<id>{{ site.url }}{{ post.id }}</id>
|
|
{% if post.modified %}<updated>{{ post.modified | to_xmlschema }}T00:00:00-00:00</updated>
|
|
<published>{{ post.date | date_to_xmlschema }}</published>
|
|
{% else %}<published>{{ post.date | date_to_xmlschema }}</published>
|
|
<updated>{{ post.date | date_to_xmlschema }}</updated>{% endif %}
|
|
<author>
|
|
<name>{{ site.owner.name }}</name>
|
|
<uri>{{ site.url }}</uri>
|
|
<email>{{ site.owner.email }}</email>
|
|
</author>
|
|
<content type="html">{{ post.content | xml_escape }}
|
|
<p><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a> was originally published by {{ site.owner.name }} at <a href="{{ site.url }}">{{ site.title }}</a> on {{ post.date | date: "%B %d, %Y" }}.</p></content>
|
|
</entry>
|
|
{% endfor %}
|
|
</feed>
|