<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>{{repo|repo_name}} tags</title>
    <link>{{base_url}}/refs#tags</link>
    <description>
      Tags of the repository {{repo|repo_name}}:
      &lt;p&gt;{{repo|description}}&lt;/p&gt;
    </description>
    <ttl>30</ttl>
    <generator>bile</generator>
    <lastBuildDate>{{repo|last_modified|format_datetime("%a, %e %b %Y %T %z")}}</lastBuildDate>
    <managingEditor>{{repo|repo_owner}}</managingEditor>
    <docs>https://www.rssboard.org/rss-specification</docs>
    {% for tag in tags %}
      <item>
        <title>{{tag.tag}}</title>
        <link>{{base_url}}/{{tag.link}}</link>
        <guid isPermaLink="true">{{base_url}}/{{tag.link}}</guid>
        <description>&lt;pre&gt;{{tag.message}}&lt;/pre&gt;</description>
        <author>{{tag.signature.email().unwrap_or("")}}</author>
        <pubDate>{{tag.signature.when()|format_datetime("%a, %e %b %Y %T %z")}}</pubDate>
      </item>
    {% endfor %}
  </channel>
</rss>