doctype 5
html
  head
    meta(charset='utf-8')
    title= title
    meta(name='viewport', content='width=device-width, initial-scale=1.0')
    link(rel='stylesheet', href='/bootstrap/css/bootstrap.min.css')
    link(rel='stylesheet', href='/stylesheets/style.css')
    link(rel='stylesheet', href='/bootstrap/css/bootstrap-responsive.min.css')
  body
    .navbar.navbar-inverse.navbar-fixed-top
      .navbar-inner
        .container
          a.btn.btn-navbar(data-toggle='collapse', data-target='.nav-collapse')
            span.icon-bar
            span.icon-bar
            span.icon-bar
          a.brand(href='#') Express
          .nav-collapse.collapse
            form.navbar-form.pull-right(action='/sessions', method='post')
              input.span2(type='text', name='user', placeholder='Email')
              input.span2(type='password', name='password', placeholder='Password')
              button.btn(type='submit') Sign in
    .container
      - var flashTypes = ['info', 'error']
      each flashType in flashTypes
        if messages[flashType]
          p.flash(class=flashType)
            = messages[flashType]
      block content
  script(src='javascripts/jquery.js')
  script(src='bootstrap/js/bootstrap.min.js')
doctype 5
html
  head
    meta(charset='utf-8')
    title= title
    meta(name='viewport', content='width=device-width, initial-scale=1.0')
    link(rel='stylesheet', href='/bootstrap/css/bootstrap.min.css')
    link(rel='stylesheet', href='/stylesheets/style.css')
    link(rel='stylesheet', href='/bootstrap/css/bootstrap-responsive.min.css')
  body
    .navbar.navbar-inverse.navbar-fixed-top
      .navbar-inner
        .container
          a.btn.btn-navbar(data-toggle='collapse', data-target='.nav-collapse')
            span.icon-bar
            span.icon-bar
            span.icon-bar
          a.brand(href='#') #{title}
          .nav-collapse.collapse
            form.navbar-form.pull-right(action='/sessions', method='post')
              input.span2(type='text', name='user', placeholder='Email')
              input.span2(type='password', name='password', placeholder='Password')
              button.btn(type='submit') Sign in
    .container
      - var flashTypes = ['info', 'error']
      each flashType in flashTypes
        if messages[flashType]
          p.flash(class=flashType)
            = messages[flashType]
      block content
  script(src='javascripts/jquery.js')
  script(src='bootstrap/js/bootstrap.min.js')
Use dynamic title in header
Use dynamic title in header
