   files with extensions in `extensions`, adds `tracer` to `:io.perun/trace`
   and writes files for subsequent tasks to process, if desired. Pass
   `pod` if one is needed for parsing"
-  [parse-form extensions output-extension tracer & [pod]]
+  [parse-form extensions output-extension tracer options & [pod]]
   (let [tmp     (boot/tmp-dir!)
         prev-fs (atom nil)]
     (boot/with-pre-wrap fileset
-      (let [changed-meta* (meta-by-ext (boot/fileset-diff @prev-fs fileset :hash) extensions)
+      (let [global-meta (pm/get-global-meta fileset)
+            changed-meta* (meta-by-ext (boot/fileset-diff @prev-fs fileset :hash) extensions)
             changed-meta (trace tracer
                                 (if pod
                                   (pod/with-call-in @pod ~(parse-form changed-meta*))

            input-meta (meta-by-ext input-fs extensions)
            output-meta (doall
                         (for [{:keys [path parsed filename] :as entry*} input-meta]
                           (let [page-filepath (string/replace path #"(?i).[a-z]+$" output-extension)
                                 entry (-> entry*
                                           (assoc :path page-filepath
                                                  :original-path path)
                                           (dissoc :parsed :original))]
                             (perun/create-file tmp page-filepath parsed)
                             entry)))
            new-fs (-> input-fs
                       (commit tmp)

     [".md" ".markdown"]
     ".html"
     :io.perun/markdown
     options
     pod)))

(deftask global-metadata
