2011-04-16 15:45:37 -04:00
|
|
|
(defpackage :coleslaw
|
|
|
|
(:use :cl :closure-template)
|
|
|
|
(:export ;; coleslaw-core
|
|
|
|
#:*storage*
|
|
|
|
#:start-coleslaw
|
|
|
|
#:stop-coleslaw
|
|
|
|
#:get-credentials
|
|
|
|
#:set-credentials
|
|
|
|
|
|
|
|
;; themes
|
|
|
|
#:*current-theme*
|
|
|
|
#:*theme-dir*
|
2011-04-23 00:13:27 -04:00
|
|
|
#:add-injection
|
|
|
|
#:remove-injection
|
2011-04-16 15:45:37 -04:00
|
|
|
|
|
|
|
;; posts
|
|
|
|
#:make-post
|
|
|
|
#:add-post
|
|
|
|
#:remove-post
|
|
|
|
#:render-post
|
|
|
|
#:find-post
|
2011-04-17 22:22:14 -04:00
|
|
|
#:post-url
|
2011-04-16 15:45:37 -04:00
|
|
|
|
2011-04-16 15:46:12 -04:00
|
|
|
#:post-id
|
|
|
|
#:post-title
|
|
|
|
#:post-tags
|
|
|
|
#:post-date
|
|
|
|
#:post-content
|
2011-04-17 22:22:14 -04:00
|
|
|
#:post-aliases
|
2011-04-16 15:46:12 -04:00
|
|
|
|
2011-04-16 15:45:37 -04:00
|
|
|
;; comments
|
|
|
|
#:make-comment
|
|
|
|
#:add-comment
|
|
|
|
#:remove-comment
|
|
|
|
#:render-comments
|
|
|
|
#:find-comments
|
|
|
|
|
2011-04-16 15:46:12 -04:00
|
|
|
#:author-name
|
|
|
|
#:author-url
|
|
|
|
#:author-ip
|
|
|
|
|
|
|
|
#:comment-id
|
|
|
|
#:comment-post
|
|
|
|
#:comment-author
|
|
|
|
#:comment-timestamp
|
|
|
|
#:comment-content
|
|
|
|
#:comment-parent
|
|
|
|
|
2011-04-16 15:45:37 -04:00
|
|
|
;; indices
|
2011-04-23 00:13:27 -04:00
|
|
|
#:make-index
|
|
|
|
#:add-to-index
|
|
|
|
#:remove-from-index
|
2011-04-16 15:45:37 -04:00
|
|
|
#:render-index
|
|
|
|
#:find-index
|
2011-04-23 00:13:27 -04:00
|
|
|
#:index-url
|
|
|
|
|
|
|
|
#:index-id
|
|
|
|
#:index-posts
|
|
|
|
|
|
|
|
;; plugins
|
|
|
|
#:load-plugins))
|