% endif
% endif
-<%! from floof.lib.search import parse %>
+<%! from floof.lib.tags import parse %>
% for gallery in c.this_user.primary_page.galleries:
<h2>${gallery.string}</h2>
-${macros.thumbs(parse(gallery.string))}
+${macros.thumbs(parse(gallery.search.string))}
% endfor