]> git.0d.be Git - panikweb.git/blob - panikweb_templates/templates/combo/cells/topik/link-cell.html
misc: run manage.py with python3
[panikweb.git] / panikweb_templates / templates / combo / cells / topik / link-cell.html
1 {% load thumbnail %}
2 <div class="topikcellcontent topik-{{cell.link_page.slug}}">
3 <a class="block cf" href="{{url}}">
4 <span class="logo">
5 {% thumbnail cell.link_page.picture "480x320" crop="50% 25%" as im %}
6 <div class="logo">
7 <img class="normal" src="{{im.url}}"/>
8 </div>
9 {% endthumbnail %}
10 </span>
11 <div>
12   <h5>{{title}}</h5>
13   <div class="description">
14     {{cell.link_page.description|safe|striptags|truncatewords:75}}
15   </div>
16 </div>
17 </a>
18 </div>