mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-14 22:04:51 +00:00
32c5490a20
* Make it work with titles with crazy characters * Hide the banner for tiddlers that didn't originate on GitHub Fixes #4116 and #4129
17 lines
718 B
Plaintext
17 lines
718 B
Plaintext
title: $:/ContributionBanner
|
|
tags: $:/tags/EditTemplate
|
|
list-after: $:/core/ui/EditTemplate/title
|
|
|
|
\define base-github()
|
|
https://github.com/Jermolene/TiddlyWiki5/edit/tiddlywiki-com/editions/tw5.com/tiddlers/
|
|
\end
|
|
|
|
<$set name="draft-of" value={{{ [<currentTiddler>get[draft.of]] }}}>
|
|
<$list filter="[[$:/config/OriginalTiddlerPaths]getindex<draft-of>]" variable="target" >
|
|
<div class="tc-improvement-banner">
|
|
{{$:/core/images/star-filled}} Can you help us improve this documentation? [[Find out how|Improving TiddlyWiki Documentation]] to
|
|
<a href={{{ [<target>addprefix<base-github>] }}} class="tc-tiddlylink-external" target="_blank" rel="noopener noreferrer">edit this tiddler on ~GitHub</a>
|
|
</div>
|
|
</$list>
|
|
</$set>
|