                                             (contents-template entity)
                                             (footer entity))))))])
 
-(def static-page (partial page :contents))
+(defn static-page
+  "Creates a generic static [[page]] using `:contents` as the `contents-template`."
+  [ent]
+  (page :contents ent))

                  (t/div {:class [:collapse :navbar-collapse :navbar-right :navbar-responsive-collapse]}
                         (navigation-template ent))))))

(defn page [contents-template entity]
  [(doctype :html)
   (t/html (header entity)
           (t/body (navigation entity)

(ns lambda-blog.templates.page
  "Generic HTML page templates."
  (:refer-clojure :exclude [meta])
  (:require [lambda-blog.templates.bits :refer [javascript row text-centered]]
            [lambda-blog.utils :refer [pathcat]]
