   [:body#page
    [:div.container
     (header)
-    [:div#content content]
+    [:div#content (content)]
     (footer)]
    (apply include-js (remove nil? (javascripts)))])
 

(ns incise.layouts.impl.page
  (:require (incise.layouts [core :refer [register]]
                            [html :refer [deflayout defpartial]])
            [stefon.core :refer [link-to-asset]]
            (hiccup [def :refer :all]
                    [page :refer :all]
                    [element :refer :all]
                    [core :refer :all]))
  (:import [java.io FileNotFoundException]))

(defpartial header

  [:header
   [:h1#site-title (link-to "/" site-title)]])

(defpartial content
  "A very basic content partial."
  [_ {:keys [content]}]
  (condp #(%1 %2) content
    list? (eval-with-context content)
    content))

(defpartial footer
  "A very basic footer crediting this project."
  [{:keys [contacts author]} _]
  [:footer
   [:p
    "This website was "
