My Blog, build with Norgolith blog.ladas552.me
blog
at main 33 lines 1.4 kB view raw
1<?xml version="1.0" encoding="UTF-8"?> 2<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 3 <channel> 4 <title>{{ config.title }}</title> 5 <link>{{ config.rootUrl | escape_xml | safe }}</link> 6 <description>{{ config.rss.description }}</description> 7 <generator>Norgolith</generator> 8 <language>{{ config.language }}</language> 9 <lastBuildDate>{{ now | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate> 10 <ttl>{{ config.rss.ttl }}</ttl> 11 <atom:link href="{{ config.rootUrl }}/rss.xml" rel="self" type="application/rss+xml" /> 12 13 <image> 14 <url>{{ config.rootUrl | escape_xml | safe }}{{ config.rss.image }}</url> 15 <title>{{ config.title }}</title> 16 <link>{{ config.rootUrl | escape_xml | safe }}</link> 17 <width>144</width> 18 <height>144</height> 19 </image> 20 21 {% for post in posts %} 22 <item> 23 <title>{{ post.title }}</title> 24 <link>{{ post.permalink | escape_xml | safe }}</link> 25 <guid>{{ post.permalink | escape_xml | safe }}</guid> 26 <description>{{ post.description }}</description> 27 <author>Ladas552</author> 28 <pubDate>{{ post.created | date(format="%a, %d %b %Y %H:%M:%S %z") }}</pubDate> 29 {% if post.categories %}{% for category in post.categories %}<category>{{ category }}</category>{% endfor %}{% endif %} 30 </item> 31 {% endfor %} 32 </channel> 33</rss>