2016-11-04 12:55:02 +01:00
|
|
|
{% set absolute_url = absolute_url+ gallery.link+"/" %}
|
2016-05-23 19:37:37 +02:00
|
|
|
<item>
|
2016-11-04 12:55:02 +01:00
|
|
|
<title>{{ gallery.title }}</title>
|
|
|
|
<link>{{ absolute_url }}</link>
|
|
|
|
<guid>{{ gallery.link }}</guid>
|
|
|
|
{% if gallery.sub_title %}
|
|
|
|
<description>{{ gallery.sub_title }}</description>
|
|
|
|
{% endif -%}
|
|
|
|
<pubDate>{{ gallery.date }}</pubDate>
|
2016-05-23 19:37:37 +02:00
|
|
|
</item>
|
|
|
|
{% for sub_gallery in gallery.sub_gallery %}
|
2016-11-04 12:55:02 +01:00
|
|
|
{% with gallery=sub_gallery %}
|
|
|
|
{% include "item.html" %}
|
|
|
|
{% endwith %}
|
2016-05-23 19:37:37 +02:00
|
|
|
{% endfor %}
|