Add a lazy loading template for all non-system tiddlers

With this new template you can run TiddlyWiki under Node.js such that
all non-system tiddlers are lazily loaded, and not baked into the HTML
file.
This commit is contained in:
Jermolene
2015-11-05 12:33:20 +00:00
parent d0ca776edb
commit bc0cbf9070
2 changed files with 17 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
title: $:/core/save/lazy-all
\define saveTiddlerFilter()
[is[system]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]
\end
{{$:/core/templates/tiddlywiki5.html}}