1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 20:10:03 +00:00

Add banner soliciting documentation improvements

A first pass
This commit is contained in:
Jermolene 2014-08-20 11:25:56 +01:00
parent 4e65bbc405
commit b0c6babd8d
2 changed files with 23 additions and 0 deletions

View 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>

View File

@ -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;
}