Source

lichen-clj / src / lichen / views / common.clj

(ns lichen.views.common
  (:use [noir.core :only [defpartial]]
    [hiccup.page-helpers :only [include-css include-js html5]]))

(defpartial layout [& content]
  (html5
    [:head
      [:title "lichen"]
      (include-css "/css/reset.css")]
    [:body
      [:div#wrapper
        content]]
      [:script "var CLOSURE_NO_DEPS = true"]
      (include-js "/js/main.js")))