         path (perun/create-filepath out-dir page)
         static-path (fn [fileset]
                       {path {:meta (pm/get-global-meta fileset)
-                             :entry (assoc meta :path path)}})]
+                             :entry (assoc meta :path path :out-dir out-dir)}})]
     (render-task {:task-name "static"
                   :paths-fn static-path
                   :renderer renderer

  (let [global-meta (pm/get-global-meta fileset)]
    (reduce (fn [result {:keys [path] :as entry}]
              (let [ext-pattern (re-pattern (str "(" (string/join "|" extensions) ")$"))
                    new-path (if out-ext
                               (->> out-ext
                                    (string/replace path ext-pattern)
                                    (perun/create-filepath out-dir))
                               (perun/create-filepath out-dir path))
                    path-meta (pm/path-meta path
                                            global-meta
                                            (boot/tmp-file (boot/tmp-get fileset path)))]

      (-> fileset
          (commit tmp)
          (pm/set-meta updated-metas)))))

(defn apply-out-dir
  [path old-out-dir new-out-dir]
  (let [path-args (if (= old-out-dir new-out-dir)
                    [path]
                    [new-out-dir path])]
    (apply perun/create-filepath path-args)))

(defn render-in-pod
  "Renders paths in `inputs`, using `render-form-fn` in `pod`
