mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-29 14:47:40 +00:00
Reorganise the main file saving templates
We’re introducing a mechanism that allows us to decide which tiddlers get saved. Using `$:/core/save/all` gives all tiddlers, as before. Using `$:/core/save/empty` gives an empty wiki. Saving an empty wiki from tw5.com isn’t the same as the empty wiki cooked from editions/empty because the two editions have different plugins and other system tiddlers.
This commit is contained in:
@@ -221,7 +221,7 @@ var Command = function(params,commander,callback) {
|
||||
|
||||
Command.prototype.execute = function() {
|
||||
var port = this.params[0] || "8080",
|
||||
rootTiddler = this.params[1] || "$:/core/templates/tiddlywiki5.template.html",
|
||||
rootTiddler = this.params[1] || "$:/core/save/all",
|
||||
renderType = this.params[2] || "text/plain",
|
||||
serveType = this.params[3] || "text/html",
|
||||
username = this.params[4] || "ANONYMOUS";
|
||||
|
||||
Reference in New Issue
Block a user