Updating "Generating Static Sites with TiddlyWiki" to use --render

Generating Static Sites with TiddlyWiki

For a project, I am using tiddlywiki as a static site generator. I recently learned that the RenderTiddlerCommand is deprecated in favour of a newer RenderTIddler command.

Now I am trying to change the old command from the wiki to make use of the newer --render command, but I keep running into errors, saying: “No such file or directory”. I am guessing I need to specify the filename of the generated HTML files, but I struggle with the filters to make it.

How to rewrite this to make use of the newer commands? We could then also update the docs.

tiddlywiki wikipath --rendertiddlers '[!is[system]]' $:/core/templates/static.tiddler.html static text/plain
tiddlywiki wikipath --rendertiddler $:/core/templates/static.template.html static.html text/plain
tiddlywiki wikipath --rendertiddler $:/core/templates/static.template.css static/static.css text/plain
1 Like

Hi Odin
If you use the new Tiddlywiki, then it uses the new render command.

So, create a new wiki folder using

tiddlywiki mywiki --init server

will create a tiddlywiki.info with correct command