]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/feed/soundfile.html
templates: repeat fragment title in feed item description
[panikweb.git] / panikweb_templates / templates / feed / soundfile.html
index f14fdabd54c4637b3aad724a391c8ee86270d935..866e6be7221865bfaa2e01f42e8d8b3d0eacaecb 100644 (file)
@@ -1,10 +1,14 @@
-{% load thumbnail %}
+{% load paniktags thumbnail %}
+{% if obj.fragment %}
+{{ obj.title }}
+<hr>
+{% endif %}
 {% if obj.episode.image %}
 {% thumbnail obj.episode.image "320x240" crop="50% 25%" as im %}
-<img src="{{im.url}}"/>
+<img src="{{im.url|as_absolute_url}}"/>
 {% endthumbnail %}
 {% endif %}
 
 {% autoescape off %}
-{{ obj.episode.text }}
+{{ obj.episode.text|set_absolute_urls }}
 {% endautoescape %}