 
 (deflayout page
   "The default page/post layout."
+  [{:keys [site-title]} {:keys [title]}]
   [:head
    [:title (str site-title (when title (str " - " title)))]
    [:meta {:name "viewport"

(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

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

