 
 (def ^:private +render-defaults+
   {:out-dir  "public"
-   :filterer identity})
+   :filterer :content})
 
 (deftask render
   "Render pages.

                                                               :entries (vec sorted)}
                                                html          (render-in-pod pod renderer render-data)
                                                page-filepath (perun/create-filepath (:out-dir options) page)
                                                new-entry     {
                                                               :path page-filepath
                                                               :canonical-url (str (:base-url global-meta) "/" page)
                                                               :content html
                                                               :date-build (:date-build global-meta)}]

                                    (string/replace path #"(?i).[a-z]+$" ".html")))]
            (perun/report-debug "render" "rendered page for path" path)
            (perun/create-file tmp page-filepath html)))
        (perun/report-info "render" "rendered %s pages" (count files))
        (commit fileset tmp)))))

(def ^:private +collection-defaults+
  {:out-dir "public"
   :filterer :content
   :groupby (fn [data] "index.html")
   :sortby (fn [file] (:date-published file))
   :comparator (fn [i1 i2] (compare i2 i1))})
