diff --git a/src/coleslaw.lisp b/src/coleslaw.lisp index 381a83e..d2899cf 100644 --- a/src/coleslaw.lisp +++ b/src/coleslaw.lisp @@ -12,7 +12,9 @@ Additional args to render CONTENT can be passed via RENDER-ARGS." (filepath (merge-pathnames path (staging *config*))) (page (funcall (theme-fn (or theme-fn 'base)) (list :config *config* - :content (apply 'render content render-args) + :content content + :raw (apply 'render content render-args) + :pubdate (make-pubdate) :body-inject (gethash :body *injections*) :head-inject (gethash :head *injections*))))) (ensure-directories-exist filepath) diff --git a/src/indices.lisp b/src/indices.lisp index d630e1d..45ee1fd 100644 --- a/src/indices.lisp +++ b/src/indices.lisp @@ -10,8 +10,7 @@ (list :tags (all-tags) :months (all-months) :config *config* - :title (index-title index) - :posts (index-posts index) + :index content :prev prev :next next))) diff --git a/themes/hyde/base.tmpl b/themes/hyde/base.tmpl index 9b43dd6..21f89a9 100644 --- a/themes/hyde/base.tmpl +++ b/themes/hyde/base.tmpl @@ -21,7 +21,7 @@ {$config.title}