]> git.0d.be Git - panikweb.git/blob - panikweb_templates/templates/feed/newsitem.html
misc: run manage.py with python3
[panikweb.git] / panikweb_templates / templates / feed / newsitem.html
1 {% load paniktags thumbnail %}
2 {% if obj.image %}
3 {% thumbnail obj.image "320x240" crop="50% 25%" as im %}
4 <img src="{{im.url|as_absolute_url}}"/>
5 {% endthumbnail %}
6 {% endif %}
7
8 {% autoescape off %}
9 {{ obj.text|set_absolute_urls }}
10 {% endautoescape %}