mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 08:58:58 -05:00
7c7d3b8476
posts always show permalinks.
32 lines
1.6 KiB
XML
32 lines
1.6 KiB
XML
---
|
|
layout: nil
|
|
---
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<title><![CDATA[{{ site.title }}]]></title>
|
|
<link href="{{ site.url }}/atom.xml" rel="self"/>
|
|
<link href="{{ site.url }}/"/>
|
|
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
|
<id>{{ site.url }}/</id>
|
|
<author>
|
|
<name><![CDATA[{{ site.author | strip_html }}]]></name>
|
|
{% if site.email %}<email><![CDATA[{{ site.email }}]]></email>{% endif %}
|
|
</author>
|
|
<generator uri="http://octopress.org/">Octopress</generator>
|
|
|
|
{% for post in site.posts limit: 20 %}
|
|
{% assign linklog = false %}
|
|
{% if post.external-url %}{% capture linklog %}{{ post.external-url }}{% endcapture %}{% endif %}
|
|
{% capture title_url %}{% if linklog %}{{ linklog }}{% else %}{{ site.url }}{{ post.url }}{% endif %}{% endcapture %}
|
|
{% capture title %}{% if linklog and site.linklog_marker_position_feed == 'before' %}{% unless linklog %}{{ site.standard_post_marker }}{% endunless %}{{ site.linklog_marker }} {% endif %}{{ post.title }}{% if linklog and site.linklog_marker_position_feed == 'after' %} {{ site.linklog_marker }}{% endif %}{% endcapture %}
|
|
<entry>
|
|
<title type="html"><![CDATA[{{ title | cdata_escape }}]]></title>
|
|
<link href="{{ title_url }}"/>
|
|
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
|
<id>{{ site.url }}{{ post.id }}</id>
|
|
{% capture content %}{{ post.content | expand_urls: site.url | cdata_escape }}<p><a rel="bookmark" href="{{ site.url }}{{ post.url }}">{{ site.feed_permalink_label }}</a></p>{% endcapture %}
|
|
<content type="html"><![CDATA[{{ content }}]]></content>
|
|
</entry>
|
|
{% endfor %}
|
|
</feed>
|