File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22title = " Posts"
33description = " New posts."
44template = " posts.html"
5+ generate_feeds = true
56page_template = " post.html"
67insert_anchor_links = " right"
78
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <feed xmlns =" http://www.w3.org/2005/Atom" xml : lang =" {{ lang }}" >
3+ <title >{{ config.title }}</title >
4+ {%- if config.description %}
5+ <subtitle >{{ config.description }}</subtitle >
6+ {%- endif %}
7+ <link rel =" self" type =" application/atom+xml" href =" {{ feed_url | safe }}" />
8+ <link rel =" alternate" type =" text/html" href =" {{ config.base_url | escape_xml | safe }}" />
9+ {% if last_updated is defined %}
10+ <updated >{{ last_updated | date(format="%+") }}</updated >
11+ {% endif %}
12+ <id >{{ feed_url | safe }}</id >
13+ {%- for page in pages %}
14+ <entry xml : lang =" {{ page.lang }}" >
15+ <title >{{ page.title }}</title >
16+ <published >{{ page.date | date(format="%+") }}</published >
17+ <updated >{{ page.updated | default(value=page.date) | date(format="%+") }}</updated >
18+ <link rel =" alternate" type =" text/html" href =" {{ page.permalink | safe }}" />
19+ <id >{{ page.permalink | safe }}</id >
20+ {% if page.summary %}
21+ <summary >{{ page.summary }}</summary >
22+ {% endif %}
23+ <content type =" html" xml : base =" {{ page.permalink | escape_xml | safe }}" >{{ page.content }}</content >
24+ </entry >
25+ {%- endfor %}
26+ </feed >
You can’t perform that action at this time.
0 commit comments