 (ns incise.layouts.html
   (:require [incise.parsers.core]
-            [robert.hooke :refer [with-scope add-hook]]
-            (hiccup [core :refer [html]]
-                    [page :refer [html5]])))
+            [robert.hooke :refer [with-scope add-hook]]))
 
 (declare ^:dynamic *site-options*)
 (declare ^:dynamic *parse*)

       (binding [*site-options* site-options#
                 *parse* parse#]
         (let [~destructuring [*site-options* *parse*]]
           (with-scope (html5 ~@body)))))))

(defmacro defpartial
  "Defines a 'partial' which is baically some hiccup markup. An arguments vector
   is required and can be used to destructure the dynamic vars set by a layout."
  [sym-name doc-string? destructuring & body]
  (let [[doc-string destructuring body]
        (if (string? doc-string?)

       ~doc-string
       [& args#]
       (let [~destructuring [*site-options* *parse* args#]]
         ~@body))))

(defmacro repartial
  "Replace the given var in a layout with a new function which will be called in
