summaryrefslogtreecommitdiff
path: root/src/core.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.clj')
-rw-r--r--src/core.clj6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.clj b/src/core.clj
index f13531e..e36b8bb 100644
--- a/src/core.clj
+++ b/src/core.clj
@@ -34,7 +34,7 @@
(def pages
{"/" home
- "/about2" about
+ "/about" about
"/blog/this-life" this-life
"/blog/something-else" something-else})
@@ -48,7 +48,7 @@
:when (not= dir target-dir)]
(.delete dir)))))
-(defn compile []
+(defn build []
(doseq [[path page-fn] pages]
(let [target-path (if (= path "/")
"target/html/index.html"
@@ -59,4 +59,4 @@
(defn -main []
(clean)
- (compile))
+ (build))