dbot/views/quotes.jade
Daniel Evans 53ad3f54ee New Theme
2011-11-25 14:44:18 +00:00

12 lines
339 B
Plaintext

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