mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 17:53:07 +00:00
31 lines
No EOL
701 B
HTML
31 lines
No EOL
701 B
HTML
<style type="text/css">
|
|
.ghContributors{
|
|
display:flex;
|
|
flex-flow: wrap;
|
|
align-content: flex-start
|
|
}
|
|
|
|
.ghContributors > div{
|
|
width: 50% ;
|
|
display: inline-flex;
|
|
margin-bottom: 5px;
|
|
}
|
|
.ghContributors > div label{
|
|
padding-left: 4px ;
|
|
}
|
|
.ghContributors > div span{
|
|
font-size: x-small;
|
|
padding-left: 4px ;
|
|
}
|
|
|
|
</style>
|
|
<div class="ghContributors">
|
|
{{ $url := .Get 0 }}
|
|
{{ range getJSON $url }}
|
|
<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> |