X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/ef69b26ffcf9185496775bcf73384ea3a5e5691c..7c20a2661d532fe1e338f0f0dfb9fe42113ab103:/floof/templates/index.mako diff --git a/floof/templates/index.mako b/floof/templates/index.mako index e9abdfa..a774551 100644 --- a/floof/templates/index.mako +++ b/floof/templates/index.mako @@ -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)}