Minor cleanups/fixes in preparation for feeds.
This commit is contained in:
parent
248614e516
commit
f438f0eb89
3 changed files with 5 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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)))
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<a href="{$config.domain}">{$config.title}</a>
|
||||
</div>
|
||||
<div id="content">
|
||||
{$content |noAutoescape}
|
||||
{$raw |noAutoescape}
|
||||
</div>
|
||||
{if $bodyInject} {$bodyInject |noAutoescape} {/if}
|
||||
<div class="fineprint">
|
||||
|
|
Loading…
Add table
Reference in a new issue