mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +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
737 B
Plaintext
17 lines
737 B
Plaintext
title: $:/ContributionBanner
|
|
tags: $:/tags/EditTemplate
|
|
list-after: $:/core/ui/EditTemplate/title
|
|
|
|
\define base-github()
|
|
https://github.com/Jermolene/TiddlyWiki5/edit/master/editions/dev/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? [ext[Find out how|https://tiddlywiki.com/#Improving%20TiddlyWiki%20Documentation]] 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>
|