dbot/views/quotes.jade
2011-11-10 00:31:05 +00:00

12 lines
342 B
Plaintext

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
-else
div.quote #{quote}