]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/includes/topik.html
use pages to get to topiks
[panikweb.git] / panikweb_templates / templates / includes / topik.html
index b59ec450702fe9c76eba54ad5e333762a2b5675c..784f412784dc02f24a9c0c07b8c4c1b40d6dad9d 100644 (file)
@@ -1,14 +1,14 @@
 {% load thumbnail paniktags staticfiles %}
-<a href="{{ topik.page.get_online_url }}" class="topik-link">
+<a href="{{ page.get_online_url }}" class="topik-link">
 <div>
   <div class="logo">
-    {% thumbnail topik.image "60x60" crop="50% 25%" as im %}
+    {% thumbnail page.picture "60x60" crop="50% 25%" as im %}
     <img src="{{im.url}}"/>
     {% endthumbnail %}
   </div>
   <div class="content">
     <div class="title">
-     <h5 class="title">{{ topik.page.title }}</h5>
+     <h5 class="title">{{ page.title }}</h5>
     </div>
     <div class="description ellipsis">
     </div>