misaki.compiler.default.config documentation

Default Compiler's Configuration Manager

POST_FILENAME_REGEXP

Default regexp to parse post filename.

POST_OUTPUT_NAME_FORMAT

Default format to generage post output filename.

layout-file?

(layout-file? file)
Check whether file is layout file or not.

make-layout-filename

(make-layout-filename layout-name)
Make layout filename from layout name(String).

make-post-url

(make-post-url file)
Make post url from java.io.File

make-tag-output-filename

(make-tag-output-filename tag-name)
Make tag output filename from tag name.

make-tag-url

(make-tag-url tag-name)
Make tag url form tag string.

make-template-output-filename

Make template output filename from template name.

plugin-config

(plugin-config config)
Configure for this compiler.

* `:layout-dir`: Layout file directory.
* `:tag-layout`: Layout file for tag page.
* `:detailed-log`: Flag to print detailed log.
* `:post-sort-type`: Sort type of posts.

sort-type->sort-fn

(sort-type->sort-fn)
Convert sort-type keyword to sort function.

with-config

macro

(with-config config & body)
Bind local config to `*config*`