   "Handles common rendering task orchestration
 
   `paths-fn` takes a fileset as its only argument"
-  [{:keys [task-name paths-fn renderer tracer rm-originals]}]
+  [{:keys [task-name paths-fn renderer tracer rm-originals pod]}]
   (assert-renderer renderer)
   (content-task
    {:render-form-fn (fn [meta] `(io.perun.render/render ~renderer ~meta))
     :paths-fn paths-fn
     :task-name task-name
     :tracer tracer
-    :pod render-pod
+    :pod (or pod render-pod)
     :rm-originals rm-originals}))
 
 (def ^:private +render-defaults+

  to the `:io.perun/trace` metadata. `grouper` is a function that takes a seq
  of entries and returns a map of paths to render data (see docstring for
  `assortment` for more info)"
  [{:keys [task-name comparator filterer sortby grouper meta renderer tracer] :as options*}]
  (cond (not (fn? comparator))
        (u/fail (str task-name " task :comparator option should implement Fn\n"))
        (not (ifn? filterer))

          (render-task {:task-name task-name
                        :paths-fn #(grouped-paths task-name % options)
                        :renderer renderer
                        :tracer tracer
                        :pod pod}))))

(def ^:private +assortment-defaults+
  {:out-dir "public"
