From 78f56ba875a7f38ea70b9e5f983544b21fa1d1b5 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 24 Nov 2013 20:28:27 +0000 Subject: [PATCH] Stop generating static content when we're saving an encrypted wiki --- core/templates/static.content.tid | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/templates/static.content.tid b/core/templates/static.content.tid index 577a88b3e..1936df866 100644 --- a/core/templates/static.content.tid +++ b/core/templates/static.content.tid @@ -1,7 +1,12 @@ title: $:/core/templates/static.content type: text/vnd.tiddlywiki +<$reveal type="nomatch" state="$:/isEncrypted" text="yes"> <$list filter="[!is[system]sort[title]]" > <$view field="title" format="text"> + +<$reveal type="match" state="$:/isEncrypted" text="yes"> +This file contains an encrypted ~TiddlyWiki. Enable ~JavaScript and enter the decryption password when prompted. +