2021-12-12 15:01:03 +08:00
|
|
|
{{- $name := .Get 1 -}}
|
|
|
|
{{- with getJSON (printf "https://api.github.com/users/%s" (.Get 0)) -}}
|
2021-12-24 16:30:09 +08:00
|
|
|
<a class="github-profile" href="{{ .html_url }}" title="{{ $name | default .name }}">
|
2022-02-06 18:55:35 +08:00
|
|
|
<img src="{{ .avatar_url }}"><b>{{ $name | default .name }}</b><i class="bi bi-github"></i>
|
2021-12-12 15:01:03 +08:00
|
|
|
</a>
|
2022-02-06 18:55:35 +08:00
|
|
|
{{- end -}}
|