       [:input {:type "text" :name "t"}]
       [:br]
       (submit-button "save"))))
-  
+
 (defroutes instapapure-app
-   (GET "/public/*"
-     (or (serve-file (params :*)) :next))
-   (GET "/" 
-       (show-posts))
-   (GET "/posts" 
-     (show-posts))
-   (GET "/post" 
-      (create-post))
-   (POST "/post" 
-      (new-post (:l params) (:t params)))
-   (ANY "*" 
-     (page-not-found)))
+  (GET "/public/*"
+    (or (serve-file (params :*)) :next))
+  (GET "/"
+    (show-posts))
+  (GET "/posts"
+    (show-posts))
+  (GET "/post"
+    (create-post))
+  (POST "/post"
+    (new-post (:l params) (:t params)))
+  (ANY "*"
+    (page-not-found)))
 
 (run-server {:port 8080}
-  "/*" (servlet instapapure-app))
+  "/*" (servlet instapapure-app))
        (map display-post (select-posts))]
      [:a {:href "/post"} "New Post"]
      [:p "Drag the bookmarklet: "
        [:a {:href bookmarklet} "Read later"]])))      

(defn new-post [location title]
  (insert-post location title)

;; Database Layer ;;
;; ************** ;;

(def db
  {:classname "org.hsqldb.jdbcDriver"
   :subprotocol "hsqldb"
   :subname "file:db/instapapure"})
