]> git.0d.be Git - panikweb.git/blobdiff - panikweb/templates/combo/cells/topik-large/link-cell.html
move static & templates to panikweb project directory
[panikweb.git] / panikweb / templates / combo / cells / topik-large / link-cell.html
diff --git a/panikweb/templates/combo/cells/topik-large/link-cell.html b/panikweb/templates/combo/cells/topik-large/link-cell.html
new file mode 100644 (file)
index 0000000..482ace7
--- /dev/null
@@ -0,0 +1,18 @@
+{% load thumbnail %}
+<div class="topikcellcontent topik-{{cell.link_page.slug}}">
+<a class="block cf" href="{{url}}">
+<span class="logo">
+{% thumbnail cell.link_page.picture "800x450" crop="50% 25%" as im %}
+<div class="logo">
+<img class="normal" src="{{im.url}}"/>
+</div>
+{% endthumbnail %}
+</span>
+<div>
+  <h2>{{title}}</h2>
+  <div class="description">
+    {{cell.link_page.description|safe|striptags}}
+  </div>
+</div>
+</a>
+</div>