mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-28 11:00:27 +00:00
Add banner soliciting documentation improvements
A first pass
This commit is contained in:
parent
4e65bbc405
commit
b0c6babd8d
14
editions/tw5.com/tiddlers/system/ViewTemplateSources.tid
Normal file
14
editions/tw5.com/tiddlers/system/ViewTemplateSources.tid
Normal file
@ -0,0 +1,14 @@
|
||||
title: $:/editions/tw5.com/ViewTemplate/Sources
|
||||
tags: $:/tags/ViewTemplate
|
||||
|
||||
\define makeGitHubLink()
|
||||
https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/tw5.com/tiddlers/$(githubLink)$
|
||||
\end
|
||||
\define outerMakeGitHubLink(linkText)
|
||||
<$set name="githubLink" value={{$:/config/OriginalTiddlerPaths##$(currentTiddler)$}}>
|
||||
<a href=<<makeGitHubLink>> class="tw-tiddlylink-external" target="_blank">$linkText$</a>
|
||||
</$set>
|
||||
\end
|
||||
<div class="tw-improvement-banner">
|
||||
{{$:/core/images/star-filled}} Can you help improve this documentation? [[Find out how|Improving TiddlyWiki Documentation]] to edit <<outerMakeGitHubLink "this tiddler">>
|
||||
</div>
|
@ -41,3 +41,12 @@ tags: $:/tags/stylesheet
|
||||
padding: 1em;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.tw-improvement-banner {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
.tw-improvement-banner svg {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user