-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
44 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% extends "skeleton/_atom.xml" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,44 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
{%spaceless%} | ||
|
||
{% spaceless %} | ||
|
||
<feed xmlns="http://www.w3.org/2005/Atom"> | ||
<title>{% block title %}{{site.name}} {{page.node.name}}{%endblock%}</title> | ||
{%block self_url %} | ||
<link href="{{page.node.full_url}}/atom.xml" rel="self"/> | ||
{%endblock%} | ||
{%block site_url %} | ||
<link href="{{site.full_url}}"/> | ||
{%endblock%}{%block feed_extra%}{%endblock%} | ||
<updated>{{now|xmldatetime}}</updated> | ||
<id>{{site.full_url}}</id> | ||
{% for node_page in page.node.walk_pages %} | ||
{% ifnotequal node_page page %} | ||
{% if not node_page.listing and not node_page.exclude %} | ||
<entry> | ||
<title>{{node_page.title}}</title> | ||
<author><name>Lakshmi Vyas</name></author> | ||
<link href="{{node_page.full_url}}"/> | ||
<updated>{{node_page.updated|default:node_page.created|xmldatetime}}</updated> | ||
<published>{{node_page.created|xmldatetime}}</published> | ||
<id>{{node_page.full_url}}</id> | ||
{%block entry_extra%}{%endblock%} | ||
<content type="html"> | ||
{%filter force_escape%}{% render_article node_page %}{%endfilter%} | ||
</content> | ||
</entry> | ||
{%endif%} | ||
{%endifnotequal%} | ||
{% endfor %} | ||
<title>{% block title %}{{ site.name }}{% endblock %}</title> | ||
|
||
{% block self_url %} | ||
<link href="{{ page.node.full_url }}/feed/" rel="self" /> | ||
{% endblock %} | ||
|
||
{% block site_url %} | ||
<link href="{{ site.full_url }}"/> | ||
{% endblock %} | ||
|
||
{% block feed_extra %}{% endblock %} | ||
|
||
<updated>{{ now|xmldatetime }}</updated> | ||
|
||
<id>{{ site.full_url }}/</id> | ||
|
||
{% for node_page in page.node.walk_pages %} | ||
{% ifnotequal node_page page %} | ||
{% if not node_page.listing and not node_page.exclude %} | ||
<entry> | ||
<title type="html">{{ node_page.title }}</title> | ||
<author><name>{{ site.author }}</name></author> | ||
<link href="{{ node_page.full_url }}"/> | ||
<updated>{{ node_page.created|xmldatetime }}</updated> | ||
<published>{{ node_page.created|xmldatetime }}</published> | ||
<id>{{ node_page.full_url }}</id> | ||
{% block entry_extra %}{% endblock %} | ||
<content type="html"> | ||
{% filter force_escape %} | ||
{% render_article node_page %} | ||
{% endfilter %} | ||
</content> | ||
</entry> | ||
{%endif%} | ||
{%endifnotequal%} | ||
{% endfor %} | ||
</feed> | ||
{%endspaceless%} | ||
|
||
{% endspaceless %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters