mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 20:16:43 +00:00
Docs: Improve styling of GitHub contributors listing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
created: 20150117152607000
|
||||
modified: 20211230150413997
|
||||
modified: 20220714133424023
|
||||
tags: $:/tags/Macro
|
||||
title: $:/editions/tw5.com/doc-macros
|
||||
type: text/vnd.tiddlywiki
|
||||
@@ -171,4 +171,14 @@ $credit$
|
||||
</div>
|
||||
\end
|
||||
|
||||
\define .contributors(usernames)
|
||||
<ol class="doc-github-contributors">
|
||||
<$list filter="[enlist<__usernames__>sort[]]" variable="username">
|
||||
<li>
|
||||
<a href={{{ [[https://github.com/]addsuffix<username>] }}} class="tc-tiddlylink-external" target="_blank" rel="noopener noreferrer"><img src={{{ [[https://github.com/]addsuffix<username>addsuffix[.png?size=24]] }}} width="24" height="24"/><span class="doc-github-contributor-username"> @<$text text=<<username>>/></span></a>
|
||||
</li>
|
||||
</$list>
|
||||
</ol>
|
||||
\end
|
||||
|
||||
<pre><$view field="text"/></pre>
|
||||
Reference in New Issue
Block a user