 
 (def ^:private global-deps
   '[[clj-time "0.9.0"]])
-
-(def ^:private
-  +defaults+ {})
 
 (defn- create-pod [deps]
   (-> (boot/get-env)

(deftask permalink
  "Make files permalinked. E.x. about.html will become about/index.html"
  []
  (let [options (merge +defaults+ *opts*)]
    (boot/with-pre-wrap fileset
      (let [files (:metadata (meta fileset))
            updated-files (perun/map-vals #(create-filepath % options) files)
            fs-with-meta (with-meta fileset {:metadata updated-files})]
        (u/info "Added permalinks to %s files\n" (count updated-files))
        fs-with-meta))))

(def ^:private sitemap-deps
  '[[sitemap "0.2.4"]])

(def ^:private +sitemap-defaults+
  (merge +defaults+
         {:filename "sitemap.xml"
          :target "public"}))

(deftask sitemap
  "Generate sitemap"

  '[[clj-rss "0.1.9"]])

(def ^:private +rss-defaults+
  {:filename "feed.rss"
   :target "public"})

(deftask rss
  "Generate RSS feed"
