From 61eade585b74c71735c5117621858ec85b7935c1 Mon Sep 17 00:00:00 2001 From: milldr Date: Fri, 13 Oct 2023 14:00:32 -0700 Subject: [PATCH] use contrib.rocks for contributors --- templates/README.md.gotmpl | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/templates/README.md.gotmpl b/templates/README.md.gotmpl index 77fbf6c7..19876c61 100644 --- a/templates/README.md.gotmpl +++ b/templates/README.md.gotmpl @@ -422,22 +422,12 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply {{ if has (datasource "config") "contributors" }} ### Contributors - -| {{ range $contributor := (ds "config").contributors }}{{ printf " [![%s][%s_avatar]][%s_homepage]
[%s][%s_homepage] |" $contributor.name $contributor.github $contributor.github $contributor.name $contributor.github}}{{ end }} -|{{- range $contributor := (ds "config").contributors -}}---|{{ end }} - +Many thanks to our wonderful contributors: + + + + -{{ range $contributor := (ds "config").contributors -}} -{{- if has $contributor "homepage" }} -{{ printf " [%s_homepage]: %s" $contributor.github $contributor.homepage }} -{{ else -}} -{{ printf " [%s_homepage]: https://github.com/%s" $contributor.github $contributor.github }} -{{ end -}} -{{ if has $contributor "avatar" }}{{ printf " [%s_avatar]: %s" $contributor.github $contributor.avatar }} -{{ else -}} -{{ printf " [%s_avatar]: https://img.cloudposse.com/150x150/https://github.com/%s.png" $contributor.github $contributor.github }} -{{- end }} -{{ end }} {{ end }} {{- $utm_link := printf "%%s?utm_source=%s&utm_medium=%s&utm_campaign=%s&utm_content=%s" "github" "readme" (ds "config").github_repo "%s" -}}