Recently Written · git

coleslaw

Emacs mode for the "Coleslaw" site generator written in Common Lisp.

git clone https://github.com/equwal/coleslaw

Log | Files | Refs


commit 9a3cd70d4cf9eea933551f74bb27e335567b6337
Spenser Truex <web@spensertruex.com>
2020-03-24 16:25:41 -0700

Document URL generator config keywords

:index-ext
:page-ext
:name-fn

Change how URLs are generated by coleslaw.

 docs/config.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs/config.md b/docs/config.md
index b149f53..b4edc7c 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -25,9 +25,11 @@ There are also many *optional* config parameters such as:
 * `:charset`       => to set HTML attributes for international characters, default: "UTF-8"
 * `:feeds`         => to generate RSS and Atom feeds for certain tagged content
 * `:excerpt-sep`   => to set the separator for excerpt in content, default: `<!--more-->`
+* `:index-ext`     => The extension for the index, default "html" for index.html
 * `:lang`          => to set HTML attributes indicating the site language, default: "en"
 * `:license`       => to override the displayed content license, the default is CC-BY-SA
-* `:page-ext`      => to set the suffix of generated files, default: "html"
+* `:name-fn`       => to modify URL strings after they are generated, default: `'identity`
+* `:page-ext`      => to set the suffix of generated files, default: "html". "" for no extension
 * `:plugins`       => to configure and enable coleslaw's [various plugins][plugin-use]
 * `:separator`     => to set the separator for content metadata, default: ";;;;;"
 * `:sitenav`       => to provide relevant links and ease navigation