mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
e8e9759816
Passing the static content through the `$:/core/templates/html-tiddler` template made it impossible to produce output that wasn’t HTML encoded (eg stylesheets).
10 lines
471 B
Plaintext
10 lines
471 B
Plaintext
title: $:/core/templates/static.area
|
|
|
|
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
|
|
{{{ [all[shadows+tiddlers]tag[$:/tags/RawStaticContent]!has[draft.of]] ||$:/core/templates/raw-static-tiddler}}}
|
|
{{$:/core/templates/static.content||$:/core/templates/html-tiddler}}
|
|
</$reveal>
|
|
<$reveal type="match" state="$:/isEncrypted" text="yes">
|
|
This file contains an encrypted ~TiddlyWiki. Enable ~JavaScript and enter the decryption password when prompted.
|
|
</$reveal>
|