dbot/views/quotes.jade

12 lines
342 B
Plaintext
Raw Normal View History

2011-11-08 21:43:52 +01:00
div#quotelist
2011-09-15 13:30:52 +02:00
-each quote in quotes
-if(quote.match(locals.url_regex))
div.quote
a(href=quote)
-if(quote.match(/(jpg|png|gif|jpeg|tiff)$/))
2011-11-10 01:31:05 +01:00
img(src=quote)
-else
=quote
-else
div.quote #{quote}