mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Force filenames for downloading empty and full wikis
This commit is contained in:
parent
c5bb95dbfb
commit
af906e4b73
@ -1,4 +1,7 @@
|
|||||||
title: $:/snippets/download-wiki-button
|
title: $:/snippets/download-wiki-button
|
||||||
|
|
||||||
\define lingo-base() $:/language/ControlPanel/Tools/Download/
|
\define lingo-base() $:/language/ControlPanel/Tools/Download/
|
||||||
<$button message="tm-download-file" param="$:/core/save/all" class="tc-btn-big-green"><<lingo Full/Caption>> {{$:/core/images/save-button}}</$button>
|
<$button class="tc-btn-big-green">
|
||||||
|
<$action-sendmessage $message="tm-download-file" $param="$:/core/save/all" filename="index.html"/>
|
||||||
|
<<lingo Full/Caption>> {{$:/core/images/save-button}}
|
||||||
|
</$button>
|
@ -1,3 +1,6 @@
|
|||||||
title: $:/editions/tw5.com/snippets/download-empty-button
|
title: $:/editions/tw5.com/snippets/download-empty-button
|
||||||
|
|
||||||
<$button message="tm-download-file" param="$:/editions/tw5.com/download-empty" class="tc-btn-big-green">Download Empty {{$:/core/images/save-button}}</$button>
|
<$button class="tc-btn-big-green">
|
||||||
|
<$action-sendmessage $message="tm-download-file" $param="$:/editions/tw5.com/download-empty" filename="empty.html"/>
|
||||||
|
Download Empty {{$:/core/images/save-button}}
|
||||||
|
</$button>
|
Loading…
Reference in New Issue
Block a user