templates/refs.xml@main
raw
1<?xml version="1.0" encoding="UTF-8"?>
2<rss version="2.0">
3 <channel>
4 <title>{{repo|repo_name}} tags</title>
5 <link>{{base_url}}/refs#tags</link>
6 <description>
7 Tags of the repository {{repo|repo_name}}:
8 <p>{{repo|description}}</p>
9 </description>
10 <ttl>30</ttl>
11 <generator>bile</generator>
12 <lastBuildDate>{{repo|last_modified|format_datetime("%a, %e %b %Y %T %z")}}</lastBuildDate>
13 <managingEditor>{{repo|repo_owner}}</managingEditor>
14 <docs>https://www.rssboard.org/rss-specification</docs>
15 {% for tag in tags %}
16 <item>
17 <title>{{tag.tag}}</title>
18 <link>{{base_url}}/{{tag.link}}</link>
19 <guid isPermaLink="true">{{base_url}}/{{tag.link}}</guid>
20 <description><pre>{{tag.message}}</pre></description>
21 <author>{{tag.signature.email().unwrap_or("")}}</author>
22 <pubDate>{{tag.signature.when()|format_datetime("%a, %e %b %Y %T %z")}}</pubDate>
23 </item>
24 {% endfor %}
25 </channel>
26</rss>