I have a view in which the MIME type returned varies. How do I set the content type in the head section?
Here is what I am trying to do
!!!
html
head
title #{site.title} - #{site.version}
link(rel='stylesheet', href='/stylesheets/style.css')
script(type='text/javascript', src='/javascripts/jquery-1.5.1.min.js')
content-type #{mimetype}
body!= body
You can specify the content-type meta tag like so:
Remember that the tag for content-type is
<META ...