1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00

Fixed TW2 template to replace include macro with serialize

This commit is contained in:
Jeremy Ruston 2012-07-16 21:13:21 +01:00
parent 8b61259973
commit 20d712ee3a

View File

@ -6,35 +6,35 @@ type: text/x-tiddlywiki-html
<head>
<script id="versionArea" type="text/javascript">
//<![CDATA[
<<include "[prefix[{version}]]" text/plain>>
<<serialize "[prefix[{version}]]" text/plain>>
//]]>
</script>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="copyright" content="
<<include "[prefix[{copyright}]]" text/plain>>
<<serialize "[prefix[{copyright}]]" text/plain>>
" />
<!--PRE-HEAD-START-->
<<include "[prefix[{prehead}]]" text/plain>>
<<serialize "[prefix[{prehead}]]" text/plain>>
<!--PRE-HEAD-END-->
<title>
<<include "[prefix[{title}]]" text/plain>>
<<serialize "[prefix[{title}]]" text/plain>>
</title>
<style id="styleArea" type="text/css">
<<include "[prefix[{style}]]" text/plain>>
<<serialize "[prefix[{style}]]" text/plain>>
</style>
<!--POST-HEAD-START-->
<<include "[prefix[{posthead}]]" text/plain>>
<<serialize "[prefix[{posthead}]]" text/plain>>
<!--POST-HEAD-END-->
</head>
<body onload="main();" onunload="if(window.unload) unload();">
<!--PRE-BODY-START-->
<<include "[prefix[{prebody}]]" text/plain>>
<<serialize "[prefix[{prebody}]]" text/plain>>
<!--PRE-BODY-END-->
<div id="copyright">
Welcome to TiddlyWiki created by Jeremy Ruston; Copyright &copy; 2004-2007 Jeremy Ruston, Copyright &copy; 2007-2011 UnaMesa Association
</div>
<noscript>
<<include "[prefix[{noscript}]]" text/plain>>
<<serialize "[prefix[{noscript}]]" text/plain>>
</noscript>
<div id="saveTest"></div>
<div id="backstageCloak"></div>
@ -46,39 +46,39 @@ Welcome to TiddlyWiki created by Jeremy Ruston; Copyright &copy; 2004-2007 Jerem
<div id="contentWrapper"></div>
<div id="contentStash"></div>
<div id="shadowArea">
<<include "[prefix[{shadow}]] +[sort-case-sensitive[title]]" application/x-tiddler-html-div removePrefix:"{shadow}">>
<<serialize "[prefix[{shadow}]] +[sort-case-sensitive[title]]" application/x-tiddler-html-div removePrefix:"{shadow}">>
</div>
<!--POST-SHADOWAREA-->
<div id="storeArea">
<<include "[prefix[{tiddler}]] +[sort-case-sensitive[title]]" application/x-tiddler-html-div removePrefix:"{tiddler}">>
<<include "[prefix[{plugin}]]" text/plain>>
<<include "[prefix[{posttiddlers}]]" text/plain>>
<<serialize "[prefix[{tiddler}]] +[sort-case-sensitive[title]]" application/x-tiddler-html-div removePrefix:"{tiddler}">>
<<serialize "[prefix[{plugin}]]" text/plain>>
<<serialize "[prefix[{posttiddlers}]]" text/plain>>
</div>
<!--POST-STOREAREA-->
<!--POST-BODY-START-->
<<include "[prefix[{postbody}]]" text/plain>>
<<serialize "[prefix[{postbody}]]" text/plain>>
<!--POST-BODY-END-->
<script id="jsArea" type="text/javascript">
//<![CDATA[
<<include "[prefix[{prejs}]]" text/plain-strip-comments>>
<<include "[prefix[{js}]]" text/plain-strip-comments>>
<<include "[prefix[{postjs}]]" text/plain-strip-comments>>
<<serialize "[prefix[{prejs}]]" text/plain-strip-comments>>
<<serialize "[prefix[{js}]]" text/plain-strip-comments>>
<<serialize "[prefix[{postjs}]]" text/plain-strip-comments>>
//]]>
</script>
<<include "[prefix[{jsext}]]" text/plain-strip-comments>>
<<serialize "[prefix[{jsext}]]" text/plain-strip-comments>>
<script id="jsdeprecatedArea" type="text/javascript">
//<![CDATA[
<<include "[prefix[{jsdeprecated}]]" text/plain-strip-comments>>
<<serialize "[prefix[{jsdeprecated}]]" text/plain-strip-comments>>
//]]>
</script>
<script id="jslibArea" type="text/javascript">
//<![CDATA[
<<include "[prefix[{jslib}]]" text/plain-strip-comments>>
<<serialize "[prefix[{jslib}]]" text/plain-strip-comments>>
//]]>
</script>
<script id="jqueryArea" type="text/javascript">
//<![CDATA[
<<include "[prefix[{jquery}]]" text/plain-strip-comments>>
<<serialize "[prefix[{jquery}]]" text/plain-strip-comments>>
//]]>
</script>
<script type="text/javascript">
@ -88,7 +88,7 @@ if(useJavaSaver)
//]]>
</script>
<!--POST-SCRIPT-START-->
<<include "[prefix[{postscript}]]" text/plain>>
<<serialize "[prefix[{postscript}]]" text/plain>>
<!--POST-SCRIPT-END-->
</body>
</html>