mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-10-22 16:17:46 +00:00
seo/geo
This commit is contained in:
1 parent
b6655924d6
commit
1736869d5f
462 files changed
+1479
-124
No files matched your search
@@ -21,11 +21,18 @@ padding-left: 4px ;
|
||||
</style>
|
||||
<div class="ghContributors">
|
||||
{{ $url := .Get 0 }}
|
||||
{{ range getJSON $url }}
|
||||
{{ with try (resources.GetRemote $url) }}
|
||||
{{ with .Err }}
|
||||
{{ warnf "Unable to fetch GitHub contributors from %q: %s" $url . }}
|
||||
{{ else with .Value }}
|
||||
{{ $contributors := .Content | transform.Unmarshal }}
|
||||
{{ range $contributors }}
|
||||
<div>
|
||||
<img src="{{.avatar_url}}" class="inline" width="32" height="32" style="height: 32px;height: 32px;margin-bottom:.25em; vertical-align:middle; ">
|
||||
<label><a href="{{.html_url}}">@{{.login}}</a></label>
|
||||
<span class="contributions">{{.contributions}} commits</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
Reference in new issue
Block a user