mirror of
https://github.com/goreleaser/nfpm
synced 2026-11-29 17:15:59 +01:00
* 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
46 lines
1.6 KiB
Markdown
46 lines
1.6 KiB
Markdown
<!-- this list is auto-generated by https://github.com/goreleaser/sponsors -->
|
|
{{- define "tier" -}}
|
|
{{- $label := index . "label" -}}
|
|
{{- $size := index . "size" -}}
|
|
{{- $sponsors := index . "sponsors" -}}
|
|
{{- if $sponsors }}
|
|
<div class="goreleaser-sponsors-tier">
|
|
<div class="goreleaser-sponsors-tier-label">{{ $label }}</div>
|
|
<div class="goreleaser-sponsors-grid">
|
|
{{- range $sponsors }}
|
|
<a class="goreleaser-sponsor-item"
|
|
href="{{ .Website }}?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content={{ .Source }}"
|
|
target="_blank"
|
|
rel="noopener sponsored"
|
|
>
|
|
<img
|
|
src="{{ .LogoWithSize $size }}"
|
|
alt="{{ .Name }}"
|
|
width="{{ $size }}"
|
|
height="{{ $size }}"
|
|
/>
|
|
{{ .Name }}
|
|
</a>
|
|
{{- end }}
|
|
</div>
|
|
</div>
|
|
{{- end -}}
|
|
{{- end }}
|
|
<div class="goreleaser-sponsors-tiers">
|
|
{{- 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")) }}
|
|
</div>
|
|
|
|
{{- with index .ByTier "backer" }}
|
|
|
|
### Backers
|
|
{{- printf "\n" }}
|
|
{{- range . }}
|
|
- [{{ .Name }}]({{ .Website }}?utm_source=goreleaser&utm_medium=sponsor&utm_campaign=homepage&utm_content={{ .Source }})
|
|
{{- end }}
|
|
{{- end }}
|
|
|