123456789101112131415161718192021222324252627 |
- ---
- layout: null
- permalink: /feed.xml
- ---
- {%- capture newline %}
- {% endcapture -%}
- <?xml version="1.0" encoding="UTF-8"?>
- <feed xmlns="http://www.w3.org/2005/Atom">
- <title>{{ site.title }}</title>
- <subtitle>{{ site.description }}</subtitle>
- <updated>{{ site.time | date_to_xmlschema }}</updated>
- <link rel="self" href="{{ page.permalink | xml_escape }}" />
- {% for page in site.pages %}{% if page.feed %}
- <entry>
- <title>{{ page.title | xml_escape }}</title>
- <link rel="alternate" href="{{ page.permalink | xml_escape }}"{% if page.lang %} hreflang="{{ page.lang }}"{% endif %} />
- <id>{{ page.permalink | xml_escape }}</id>
- <published>{{ page.date | date_to_xmlschema }}</published>
- <updated>{{ page.updated | default: page.date | date_to_xmlschema }}</updated>
- {% if page.description %}<summary>{{ page.description | xml_escape }}</summary>{% endif %}
- <content>
- {{ page.content | strip_html | replace: newline, " " | slice: 0,250 | xml_escape }}... {{ page.permalink | xml_escape }} {% if page.keywords %}{{ page.keywords | xml_escape }}{% endif %}
- </content>
- </entry>
- {% endif %}{% endfor %}
- </feed>
|