summaryrefslogtreecommitdiff
path: root/home/src/core.clj
diff options
context:
space:
mode:
Diffstat (limited to 'home/src/core.clj')
-rw-r--r--home/src/core.clj2
1 files changed, 2 insertions, 0 deletions
diff --git a/home/src/core.clj b/home/src/core.clj
index b8ba344..368f491 100644
--- a/home/src/core.clj
+++ b/home/src/core.clj
@@ -1,5 +1,6 @@
(ns core
(:require [clojure.java.io :as io]
+ [rss :refer [emit]]
[pages :refer [pages e-404]]))
(defn clean []
@@ -20,6 +21,7 @@
target-file (io/file target-path)]
(io/make-parents target-file)
(spit target-file (str (page-fn)))))
+ (spit (io/file "target/html/feed.xml") (emit))
(spit (io/file "404.html") (str (e-404))))
(defn -main []