1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-01 17:53:15 +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:
Jermolene 2013-12-23 09:53:31 +00:00
parent 3aab737bea
commit 7b7e799a70
2 changed files with 8 additions and 0 deletions

View File

@ -3,4 +3,7 @@ title: $:/editions/tw5.com/download-empty
\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]]
\end
\define savingEmpty()
yes
\end
{{$:/core/templates/tiddlywiki5.html}}

View File

@ -1,7 +1,10 @@
title: $:/core/templates/static.content
type: text/vnd.tiddlywiki
hack-to-give-us-something-to-compare-against: yes
<!-- For Google, and people without JavaScript-->
<$reveal state="!!hack-to-give-us-something-to-compare-against" type="nomatch" text=<<savingEmpty>>>
{{HelloThere}}
{{TiddlyWiki}}
@ -11,3 +14,5 @@ type: text/vnd.tiddlywiki
{{Community}}
{{HelpingTiddlyWiki}}
</$reveal>