mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-22 23:16:53 +00:00
Fixed problem with static content being included in empty.html
A bit of a hack to fix this problem: https://groups.google.com/forum/#!topic/tiddlywikidev/Ucpbq5eeq8g
This commit is contained in:
parent
3aab737bea
commit
7b7e799a70
@ -3,4 +3,7 @@ title: $:/editions/tw5.com/download-empty
|
|||||||
\define saveTiddlerFilter()
|
\define saveTiddlerFilter()
|
||||||
[[$:/core]] [[$:/isEncrypted]] [[$:/plugins/tiddlywiki/fullscreen]] [[$:/themes/tiddlywiki/snowwhite]] [[$:/themes/tiddlywiki/vanilla]] -[type[text/css]] -[type[application/javascript]has[module-type]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]
|
[[$:/core]] [[$:/isEncrypted]] [[$:/plugins/tiddlywiki/fullscreen]] [[$:/themes/tiddlywiki/snowwhite]] [[$:/themes/tiddlywiki/vanilla]] -[type[text/css]] -[type[application/javascript]has[module-type]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]
|
||||||
\end
|
\end
|
||||||
|
\define savingEmpty()
|
||||||
|
yes
|
||||||
|
\end
|
||||||
{{$:/core/templates/tiddlywiki5.html}}
|
{{$:/core/templates/tiddlywiki5.html}}
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
title: $:/core/templates/static.content
|
title: $:/core/templates/static.content
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
hack-to-give-us-something-to-compare-against: yes
|
||||||
|
|
||||||
<!-- For Google, and people without JavaScript-->
|
<!-- For Google, and people without JavaScript-->
|
||||||
|
<$reveal state="!!hack-to-give-us-something-to-compare-against" type="nomatch" text=<<savingEmpty>>>
|
||||||
|
|
||||||
{{HelloThere}}
|
{{HelloThere}}
|
||||||
|
|
||||||
{{TiddlyWiki}}
|
{{TiddlyWiki}}
|
||||||
@ -11,3 +14,5 @@ type: text/vnd.tiddlywiki
|
|||||||
{{Community}}
|
{{Community}}
|
||||||
|
|
||||||
{{HelpingTiddlyWiki}}
|
{{HelpingTiddlyWiki}}
|
||||||
|
|
||||||
|
</$reveal>
|
||||||
|
Loading…
Reference in New Issue
Block a user