Files
nfpm/.github/templates/sponsors.tpl.md
Carlos Alexandro BeckerandCopilot b06214cfe8 docs: align sponsors page with goreleaser's (#1163)
* docs: align sponsors page with goreleaser's

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4bac7aa9-860a-44a9-a8ce-c8768cbceab6
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* ci: ignore sponsor links in htmltest

The sponsors list is auto-generated with third-party links that
regularly return 403 or fail to resolve.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4bac7aa9-860a-44a9-a8ce-c8768cbceab6
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* ci: ignore opencollective images in htmltest

Sponsor logos on images.opencollective.com return 403 to CI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4bac7aa9-860a-44a9-a8ce-c8768cbceab6
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4bac7aa9-860a-44a9-a8ce-c8768cbceab6
2026-10-20 02:46:22 +00:00

1.6 KiB

{{- define "tier" -}} {{- $label := index . "label" -}} {{- $size := index . "size" -}} {{- $sponsors := index . "sponsors" -}} {{- if $sponsors }}

{{ $label }}
{{- range $sponsors }} {{ .Name }} {{ .Name }} {{- end }}
{{- end -}} {{- end }}
{{- template "tier" (dict "label" "Diamond" "size" 128 "sponsors" (index .ByTier "diamond")) -}} {{- template "tier" (dict "label" "Platinum" "size" 112 "sponsors" (index .ByTier "platinum")) -}} {{- template "tier" (dict "label" "Gold" "size" 96 "sponsors" (index .ByTier "gold")) -}} {{- template "tier" (dict "label" "Silver" "size" 80 "sponsors" (index .ByTier "silver")) -}} {{- template "tier" (dict "label" "Bronze" "size" 64 "sponsors" (index .ByTier "bronze")) }}

{{- with index .ByTier "backer" }}

Backers

{{- printf "\n" }} {{- range . }}

  • [{{ .Name }}]({{ .Website }}?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content={{ .Source }}) {{- end }} {{- end }}