mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-30 14:46:19 +00:00
2e47f277ac
If image lazy loading is used with node.js the favicon is blank. The line `-[!is[system]is[image]]` excludes only non system images from begin saved as full tiddlers. But the `[is[image]]` line includes system images as skinny tiddlers. The created HTML file has all system image tiddlers (as the favicon) listed twice. And the skinny tiddler seems to win in this case and breaks the display of the favicon. This patch fixes this issue by excluding system images from the skinny tiddlers list.
10 lines
382 B
Plaintext
10 lines
382 B
Plaintext
title: $:/core/save/lazy-images
|
|
|
|
\define saveTiddlerFilter()
|
|
[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[!is[system]is[image]] +[sort[title]]
|
|
\end
|
|
\define skinnySaveTiddlerFilter()
|
|
[!is[system]is[image]]
|
|
\end
|
|
{{$:/core/templates/tiddlywiki5.html}}
|