mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-07 13:28:01 +00:00
Fix problem with static renderings
The issue was that rendertiddlers always clears the output folder, which meant that it was overwriting anything previously output by the rendertiddler command.
This commit is contained in:
@@ -21,3 +21,5 @@ You can override this behaviour with the OutputCommand. For example, to generate
|
||||
```
|
||||
tiddlywiki mywiki --output . --rendertiddler $:/core/save/all index.html text/plain
|
||||
```
|
||||
|
||||
A further change is that the `--rendertiddlers` command now clears the output folder before it writes any files. This means that any previous `--rendertiddler` commands to the same folder will have their output deleted.
|
||||
|
@@ -48,8 +48,8 @@
|
||||
"static": [
|
||||
"--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain",
|
||||
"--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
|
||||
"--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain",
|
||||
"--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain"]
|
||||
"--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain",
|
||||
"--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"]
|
||||
},
|
||||
"config": {
|
||||
"retain-original-tiddler-path": true
|
||||
|
Reference in New Issue
Block a user