Fixed adding regular tags.
[zzz-floof.git] / floof / templates / index.mako
index e9abdfa..a774551 100644 (file)
@@ -1,11 +1,4 @@
 <%inherit file="base.mako" />
+<%namespace name="macros" file="/macros.mako" />
 
-<a href="${h.url_for(controller="art", action="new")}">Add New Art!</a>
-
-<ul class="artwork-grid">
-    % for artwork in c.artwork:
-    <li><a href="${h.url_for(controller="art", action="show", id=artwork.id)}">
-        <img width="180" src="${artwork.get_path()}">
-    </a></li>
-    % endfor
-</ul>
+${macros.thumbs(c.artwork)}