TODO updates, Minor RENDER-PAGE tweak.
This commit is contained in:
parent
aa0ddff149
commit
f65a952a89
3 changed files with 7 additions and 6 deletions
9
TODO
9
TODO
|
@ -5,7 +5,8 @@ BUGS:
|
|||
; Slugs aren't unicode safe. See [reddit discussion](http://www.reddit.com/r/lisp/comments/yvh6g/coleslaw_jekylllike_static_blogware_in_500_lines/) and [mozilla code](https://github.com/mozilla/unicode-slugify/blob/master/slugify/__init__.py).
|
||||
|
||||
TODO:
|
||||
; doc themes and plugins
|
||||
; fix plugins: s3
|
||||
;; Incremental compile: only "touched" posts+tags+months. By-20 must be redone, of course.
|
||||
;;; plugins: analytics, logging/monitoring, crossposting, disqus
|
||||
; figure out how to make render-page support predicate based injections. -> 0.7
|
||||
; doc themes and plugins, disqus and s3. -> 0.8
|
||||
; unit tests -> 0.9
|
||||
; Incremental compilation: only "touched" posts+tags+months and by-n. -> 1.0
|
||||
;; possible plugins: analytics, logging/monitoring, crossposting
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
(in-package :coleslaw)
|
||||
|
||||
(defun render-page (path html &optional raw)
|
||||
(defun render-page (path html &key raw)
|
||||
"Populate the base template with the provided HTML and write it out to PATH.
|
||||
If RAW is non-nil, write the content without wrapping it in the base template."
|
||||
(let ((filepath (merge-pathnames path (staging *config*))))
|
||||
|
|
|
@ -30,4 +30,4 @@
|
|||
:title (title *config*)
|
||||
:siteroot (domain *config*)
|
||||
:author (author *config*)
|
||||
:posts content)) t)))
|
||||
:posts content)) :raw t)))
|
||||
|
|
Loading…
Add table
Reference in a new issue