if ajax
  block content
else
  doctype html
  html
    head
    body
      block content