API for package: coleslaw
Homepage: Github
-Variables
*config*: NIL variable
A variable to store the blog configuration and plugin settings.
-Classes
blog (standard-object) class
content (standard-object) class
index (standard-object) class
post (content) class
-Functions
add-injection injection location function
Adds an INJECTION to a given LOCATION for rendering. The INJECTION should be
a string which will always be added or a (string . lambda). In the latter case,
the lambda takes a single argument, a content object, i.e. a POST or INDEX, and
any return value other than nil indicates the injection should be added.
discover content-type standard-generic-function
Load all content of the given CONTENT-TYPE from disk.
main config-key function
Load the user's config section corresponding to CONFIG-KEY, then
compile and deploy the blog.
page-path object standard-generic-function
The path to store OBJECT at once rendered.
preview path &optional (content-type 'post) function
Render the content at PATH under user's configured repo and save it to
~/tmp.html. Load the user's config and theme if necessary.
publish content-type standard-generic-function
Write pages to disk for all content of the given CONTENT-TYPE.
read-content file function
Returns a plist of metadata from FILE with :text holding the content as a string.
render object &key next prev &allow-other-keys standard-generic-function
Render the given OBJECT to HTML.
render-content text format standard-generic-function
Compile TEXT from the given FORMAT to HTML for display.