div#quotelist
-each quote in quotes
-if(quote.match(locals.url_regex))
div.quote
a(href=quote)
-if(quote.match(/(jpg|png|gif|jpeg|tiff)$/))
=img(src=quote)
-else
=quote
div.quote #{quote}