2021-12-12 15:01:03 +08:00
|
|
|
<style>
|
|
|
|
.gh-contribuors {
|
2021-12-12 20:51:59 +08:00
|
|
|
display: grid;
|
2021-12-12 15:01:03 +08:00
|
|
|
padding: 0 1rem;
|
|
|
|
margin: 0 0 1rem;
|
2021-12-12 20:51:59 +08:00
|
|
|
grid-gap: 0.5rem;
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(2rem, 1fr));
|
2021-12-12 15:01:03 +08:00
|
|
|
}
|
2021-12-12 20:51:59 +08:00
|
|
|
.gh-contribuors img { width: 2rem; height: 2rem; border-radius: 50%; }
|
2021-12-12 15:01:03 +08:00
|
|
|
</style>
|
2021-12-12 20:51:59 +08:00
|
|
|
{{- $contributors := getJSON
|
|
|
|
"https://api.github.com/repos/mtf-wiki/MtF-Wiki/contributors?per_page=100" }}
|
2021-12-12 18:22:27 +08:00
|
|
|
<section class="gh-contribuors">
|
2021-12-12 20:51:59 +08:00
|
|
|
{{- range where $contributors "type" "User" }}
|
|
|
|
<a href="{{ .html_url }}" title="{{ .login }}"><img src="{{ .avatar_url }}"></a>
|
|
|
|
{{- end }}
|
2021-12-12 18:22:27 +08:00
|
|
|
</section>
|