You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {% from "macros.j2" import render_excerpt, render_post with context %}
- {% from "macros.j2" import fullurl with context %}
- <?xml version="1.0" encoding="utf-8"?>
- <feed xmlns="http://www.w3.org/2005/Atom">
- <title>
- {% block title %}{{ resource.meta.title|default(feed_title) }}{% endblock %}
- </title>
- {% block self_url %}
- <link type="application/atom+xml" href="{{ fullurl(resource.url) }}" rel="self" />
- {% endblock %}
-
- {% block site_url %}
- <link rel="alternate" type="text/html" href="{{ fullur('/') }}"/>
- {% endblock %}
-
- {% block feed_extra %}
- {% endblock %}
-
- <updated>{{ time_now|xmldatetime }}</updated>
-
- <id>{{ fullurl(resource.url) }}</id>
-
- {% for res in resource.node.walk_resources_sorted_by_time() %}
- <entry>
- <title type="html">{{ res.meta.title|forceescape }}</title>
- <author><name>{{ res.meta.author }}</name></author>
- <link href="{{ content_url(res.url) }}"/>
- <updated>{{ res.meta.created|xmldatetime }}</updated>
- <published>{{ res.meta.created|xmldatetime }}</published>
- <id>{{ fullurl(res.url) }}</id>
- {% for tag in res.meta.tags %}
- <category scheme="{{ fullurl('search/label') }}"
- term="{{tag}}"
- label="{{ tag|title }}" />
- {% endfor %}
-
- <content type="html">
- {% refer to res.relative_path as article -%}
- {% filter forceescape -%}
- {% if resource.meta.excerpts_only -%}
- {{ article.image|markdown|typogrify }}
- {{ article.excerpt|markdown|typogrify }}
- {%- else %}
- {{ article.post|markdown|typogrify }}
- {%- endif %}
- {%- endfilter %}
- </content>
- </entry>
- {% endfor %}
- </feed>
|