mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-27 10:30:28 +00:00
a105b52399
Fixing problems caused by c4b76ceb0b
:
* We still need to initialise the saver-handler even when syncing to a
server, otherwise offline snapshots can’t be saved
* We need to override the default save template a bit further up the
stack, to avoid the server side serving the offline version of the wiki
at `/`
7 lines
363 B
Plaintext
7 lines
363 B
Plaintext
title: $:/plugins/tiddlywiki/tiddlyweb/save/offline
|
|
|
|
\define saveTiddlerFilter()
|
|
[is[tiddler]] -[[$:/boot/boot.css]] -[[$:/HistoryList]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]] +[sort[title]]
|
|
\end
|
|
{{$:/core/templates/tiddlywiki5.html}}
|