mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Refactor the download buttons into reusable snippets
This commit is contained in:
parent
4352e81b98
commit
7baf8431a4
3
core/wiki/download-wiki-button.tid
Normal file
3
core/wiki/download-wiki-button.tid
Normal file
@ -0,0 +1,3 @@
|
||||
title: $:/snippets/download-wiki-button
|
||||
|
||||
<$button message="tw-download-file" param="$:/core/save/all" class="btn-big-green">Download Full {{$:/core/images/save-button}}</$button>
|
10
editions/clientserver/tiddlers/GettingStarted.tid
Normal file
10
editions/clientserver/tiddlers/GettingStarted.tid
Normal file
@ -0,0 +1,10 @@
|
||||
created: 20131129090249275
|
||||
creator: JeremyRuston
|
||||
modified: 20131129090636070
|
||||
modifier: JeremyRuston
|
||||
title: GettingStarted
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
TiddlyWiki is highly flexible, and there are many different ways to use it. Here we're focussing on using it as a standalone file in the browser, but for more options you can also run [[TiddlyWiki5 on Node.js]].
|
||||
|
||||
1. [[Download]] TiddlyWiki by clicking this button:
|
@ -7,8 +7,8 @@ title: Download
|
||||
|
||||
! Download Single File Editions
|
||||
|
||||
|<$button message="tw-download-file" param="$:/editions/tw5.com/save-empty" class="btn-big-green">Download Empty {{$:/core/images/save-button}}</$button>|Get started with an empty wiki |
|
||||
|<$button message="tw-download-file" param="$:/core/save/all" class="btn-big-green">Download Full {{$:/core/images/save-button}}</$button>|Download a full copy of this site, including all the documentation |
|
||||
|{{$:/editions/tw5.com/snippets/download-empty-button}}|Get started with an empty wiki |
|
||||
|{{$:/snippets/download-wiki-button}}|Download a full copy of this site, including all the documentation |
|
||||
|
||||
! Download Node.js Edition
|
||||
|
||||
|
@ -0,0 +1,3 @@
|
||||
title: $:/editions/tw5.com/snippets/download-empty-button
|
||||
|
||||
<$button message="tw-download-file" param="$:/editions/tw5.com/save-empty" class="btn-big-green">Download Empty {{$:/core/images/save-button}}</$button>
|
@ -1,4 +1,4 @@
|
||||
title: $:/editions/tw5.com/save-empty
|
||||
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]]
|
Loading…
Reference in New Issue
Block a user