         (commit fileset tmp)))))
 
 (def ^:private +render-defaults+
-  {:target "public"})
+  {:out-dir "public"})
 
 (deftask render
   "Render pages"
-  [o target   OUTDIR   str  "The output directory"
+  [o out-dir  OUTDIR   str  "The output directory"
    r renderer RENDERER code "Page renderer"]
   (let [tmp (boot/tmp-dir!)
         options (merge +render-defaults+ *opts*)]

            sorted-files (sort-by (:sortby options) (:comparator options) filtered-files)
            render-fn (:renderer options)
            html (render-fn sorted-files)
            page-filepath (str (:target options) "/" page)]
        (perun/create-file tmp page-filepath html)
        (u/info (str "Render collection " page "\n"))
        (commit fileset tmp)))))

        (doseq [file files]
          (let [render-fn (:renderer options)
                html (render-fn file)
                page-filepath (str (:out-dir options) "/"
                                   (or (:filepath file)
                                       (str (:filename file) ".html")))]
            (perun/create-file tmp page-filepath html)))
