|
|
|
@ -135,7 +135,10 @@
|
|
|
|
|
pre-content (subs content 0 end)
|
|
|
|
|
article-link (str "<a href=\""
|
|
|
|
|
(:link site)
|
|
|
|
|
"\">↪</a>")]
|
|
|
|
|
"\">"
|
|
|
|
|
(when divider-pos
|
|
|
|
|
"…")
|
|
|
|
|
"↪</a>")]
|
|
|
|
|
(str res
|
|
|
|
|
"<article>"
|
|
|
|
|
pre-content
|
|
|
|
@ -209,7 +212,8 @@
|
|
|
|
|
(defn render-blog [template dir]
|
|
|
|
|
(let [dir-name (core/filename dir)
|
|
|
|
|
index-file (blog/index-file dir-name input-root)
|
|
|
|
|
config (merge (blog/config dir-name)
|
|
|
|
|
config (merge (analysed-page index-file)
|
|
|
|
|
(blog/config dir-name)
|
|
|
|
|
{:dir dir})
|
|
|
|
|
blog-sites (blog-sites dir-name)]
|
|
|
|
|
(blog/write-files config
|
|
|
|
|