2014-08-20 21:07:39 +00:00
title: $:/editions/tw5.com/EditTemplate/Sources
tags: $:/tags/EditTemplate
list-after: $:/core/ui/EditTemplate/title
2014-08-20 10:25:56 +00:00
\define makeGitHubLink()
2014-08-20 21:07:39 +00:00
https://github.com/Jermolene/TiddlyWiki5/edit/master/editions/tw5.com/tiddlers/$(githubLink)$
2014-08-20 10:25:56 +00:00
\end
2014-08-20 21:07:39 +00:00
\define innerMakeGitHubLink(linkText)
<$set name="githubLink" value={{$:/config/OriginalTiddlerPaths##$(draftOfTiddler)$}}>
2014-08-20 10:25:56 +00:00
<a href=<<makeGitHubLink>> class="tw-tiddlylink-external" target="_blank">$linkText$</a>
</$set>
\end
2014-08-20 21:07:39 +00:00
\define outerMakeGitHubLink(linkText)
<$set name="draftOfTiddler" value={{$(currentTiddler)$!!draft.of}}>
<<innerMakeGitHubLink "$linkText$">>
</$set>
\end
2014-08-20 10:25:56 +00:00
<div class="tw-improvement-banner">
2014-08-20 16:06:39 +00:00
{{$:/core/images/star-filled}} Can you help us improve this documentation? [[Find out how|Improving TiddlyWiki Documentation]] to edit <<outerMakeGitHubLink "this tiddler on ~GitHub">>
2014-08-20 10:25:56 +00:00
</div>