From 52d026e0d40f290028b4b8789de38261669528a9 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Tue, 18 Dec 2018 20:19:18 +0100 Subject: [PATCH] fix blog index page titles --- src/equilibrium/render.clj | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/equilibrium/render.clj b/src/equilibrium/render.clj index 3b87aab..7dd77b7 100644 --- a/src/equilibrium/render.clj +++ b/src/equilibrium/render.clj @@ -135,7 +135,10 @@ pre-content (subs content 0 end) article-link (str "")] + "\">" + (when divider-pos + "…") + "↪")] (str res "
" 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