29 lines
1.3 KiB
HTML
29 lines
1.3 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
|
xmlns:media="http://search.yahoo.com/mrss/">
|
|
<channel>
|
|
<title>{{ this.page.meta_title ?: this.page.title }}{% if category %}:{{category.name}}{% endif %}</title>
|
|
<link>{{ rssLink }}</link>
|
|
<description>{{ this.page.meta_description ?: this.page.description }}</description>
|
|
<atom:link href="{{ rssLink }}" rel="self" type="application/rss+xml" />
|
|
<language>{{language}}</language>
|
|
<copyright>copiright</copyright>
|
|
<lastBuildDate>{{ posts|length > 0 ? posts.first.rss_date : '' }}</lastBuildDate>
|
|
{% for post in posts %}
|
|
<item>
|
|
<title>{{ post.title }}</title>
|
|
<link>{{ post.url }}</link>
|
|
<guid isPermaLink='true' >{{ post.url }}</guid>
|
|
<pubDate>{{ post.rss_date }}</pubDate>
|
|
<description><![CDATA[{{ post.summary|raw}} ]]></description>
|
|
<enclosure
|
|
url="{{post.featured_image|media_cdn}}"
|
|
type="image/jpeg"/>
|
|
<content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/">
|
|
<![CDATA[ {{post.content_html|raw}} ]]>
|
|
</content:encoded>
|
|
</item>
|
|
{% endfor %}
|
|
</channel>
|
|
</rss>
|