Skip to content

Instantly share code, notes, and snippets.

@konrad-garus
Created September 20, 2010 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save konrad-garus/588677 to your computer and use it in GitHub Desktop.
Save konrad-garus/588677 to your computer and use it in GitHub Desktop.
(defn- xhtml-template [head title body]
{:status 200
:headers {"Content-Type" "text/html; charset=utf-8"}
:body
(html
(doctype :xhtml-strict)
(xhtml-tag "en"
[:head
[:meta {:http-equiv "Content-Type" :content "text/html; charset=utf-8"}]
[:title title]
head]
[:body body]))})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment