]> git.0d.be Git - panikweb.git/blobdiff - panikweb/templates/includes/topik.html
move static & templates to panikweb project directory
[panikweb.git] / panikweb / templates / includes / topik.html
diff --git a/panikweb/templates/includes/topik.html b/panikweb/templates/includes/topik.html
new file mode 100644 (file)
index 0000000..784f412
--- /dev/null
@@ -0,0 +1,17 @@
+{% load thumbnail paniktags staticfiles %}
+<a href="{{ page.get_online_url }}" class="topik-link">
+<div>
+  <div class="logo">
+    {% thumbnail page.picture "60x60" crop="50% 25%" as im %}
+    <img src="{{im.url}}"/>
+    {% endthumbnail %}
+  </div>
+  <div class="content">
+    <div class="title">
+     <h5 class="title">{{ page.title }}</h5>
+    </div>
+    <div class="description ellipsis">
+    </div>
+  </div>
+</div>
+</a>