!!!
html
  head
    title FinalsClub.org

    link(rel='stylesheet', href='/stylesheets/fc2.css')
    script(type='text/javascript', src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js')
    script(type='text/javascript', src='/javascripts/es5-shim.min.js')
    script(type='text/javascript', src='/socket.io/socket.io.js')

    - if ( 'undefined' !== typeof stylesheets )
        - each stylesheet in stylesheets
            link( rel = 'stylesheet', href = '/stylesheets/#{ stylesheet }' )

    - if ( 'undefined' !== typeof javascripts )
        - each javascript in javascripts
            script( type = 'text/javascript', src = '/javascripts/#{ javascript }' )

    meta(name="viewport", content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0")
    meta(name="apple-touch-icon", href="")
    meta(name="icon", href="")

  body
    include masthead
    != messages()
    != body
    include footer
