<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>{{ baseUrl }}</id>
  <title>{{ name }}</title>
  <updated>{{ "now"|date('c') }}</updated>
  <author>
{% if author.name is defined %}
    <name>{{ author.name }}</name>
{% endif %}
{% if author.email is defined %}
    <email>{{ author.email }}</email>
{% endif %}
  </author>
{% for url in urls %}
    <entry>
        <id>{{ url.loc}}</id>
        <updated>{{ url.updated }}</updated>
        <title>{{ url.title }}</title>
    </entry>
{% endfor %}
</feed>

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <link rel="self" type="application/atom+xml" href="{{ baseUrl }}/atom.xml"/>
  <id>{{ baseUrl }}</id>
  <title>{{ name }}</title>
  <updated>{{ "now"|date('c') }}</updated>
  <author>
{% if author.name is defined %}
    <name>{{ author.name }}</name>
{% endif %}
{% if author.email is defined %}
    <email>{{ author.email }}</email>
{% endif %}
  </author>
{% for url in urls %}
    <entry>
        <id>{{ url.loc}}</id>
        <link rel="alternate" type="text/html" href="{{ url.loc }}"/>
        <updated>{{ url.updated }}</updated>
        <title>{{ url.title }}</title>
    </entry>
{% endfor %}
</feed>

Add links to feed and entries
Add links to feed and entries
