projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merged in my branch 'resources', which is not aptly named anymore since it no longer...
[zzz-floof.git]
/
floof
/
templates
/
macros.mako
diff --git a/floof/templates/macros.mako
b/floof/templates/macros.mako
new file mode 100644
(file)
index 0000000..
061b7b9
--- /dev/null
+++ b/
floof/templates/macros.mako
@@ -0,0
+1,11
@@
+<%def name="thumbs(art)">
+ <ul class="artwork-grid">
+ % for item in art:
+ <li>
+ <a href="${h.url("show_art", id=item.id)}">
+ <img width="180" src="${item.get_path()}">
+ </a>
+ </li>
+ % endfor
+ </ul>
+</%def>
\ No newline at end of file