diff --git a/src/cryogen_core/compiler.clj b/src/cryogen_core/compiler.clj index c796715..1a90d00 100644 --- a/src/cryogen_core/compiler.clj +++ b/src/cryogen_core/compiler.clj @@ -230,6 +230,13 @@ :posts posts :uri uri}))))))) +(defn compile-tags-page [{:keys [blog-prefix] :as params}] + (println (blue "compiling tags page")) + (spit (str public blog-prefix "/tags.html") + (render-file "/html/tags.html" + (merge params + {:uri (str blog-prefix "/tags.html")})))) + (defn compile-index "Compiles the index page into html and spits it out into the public folder" [{:keys [blog-prefix disqus?] :as params}] @@ -323,6 +330,7 @@ (compile-pages params pages) (compile-posts params posts) (compile-tags params posts-by-tag) + (compile-tags-page params) (compile-index params) (compile-archives params posts) (println (blue "generating site map"))