Added page with all tags - for issue #31
This commit is contained in:
parent
2264af82df
commit
7153e9d522
1 changed files with 8 additions and 0 deletions
|
@ -230,6 +230,13 @@
|
||||||
:posts posts
|
:posts posts
|
||||||
:uri uri})))))))
|
: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
|
(defn compile-index
|
||||||
"Compiles the index page into html and spits it out into the public folder"
|
"Compiles the index page into html and spits it out into the public folder"
|
||||||
[{:keys [blog-prefix disqus?] :as params}]
|
[{:keys [blog-prefix disqus?] :as params}]
|
||||||
|
@ -323,6 +330,7 @@
|
||||||
(compile-pages params pages)
|
(compile-pages params pages)
|
||||||
(compile-posts params posts)
|
(compile-posts params posts)
|
||||||
(compile-tags params posts-by-tag)
|
(compile-tags params posts-by-tag)
|
||||||
|
(compile-tags-page params)
|
||||||
(compile-index params)
|
(compile-index params)
|
||||||
(compile-archives params posts)
|
(compile-archives params posts)
|
||||||
(println (blue "generating site map"))
|
(println (blue "generating site map"))
|
||||||
|
|
Loading…
Reference in a new issue