summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/causes.html
blob: f8a2a32a27494dd91240f83eb52e35db80147704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<div class="donor">
  {{- $inner := .Inner }}
{{- $file := "fsf-donor.png" }}
{{- $path := printf "content_images/%s" $file}}
{{- $img := resources.Get $path }}
{{- $img1x := $img.Resize "180x webp q90"}}

<a href="https://my.fsf.org/join?referrer=6050678" target="_blank">
  <img src="{{$img1x.Permalink}}" width="{{$img1x.Width}}" height="{{$img1x.Height}}"  alt="I am an FSF associate" width="180" height="45">
</a>

{{- $file := "freebsd-donor.gif" }}
{{- $path := printf "content_images/%s" $file}}
{{- $img := resources.Get $path }}
{{- $img1x := $img.Resize "125x webp q90"}}

<a href="https://freebsdfoundation.org/donate" target="_blank">
  <img src="{{$img1x.Permalink}}" width="{{$img1x.Width}}" height="{{$img1x.Height}}" alt="Proud Donor" title="FreeBSD Foundation Donor" >
</a>
{{- $file := "openbsd.png" }}
{{- $path := printf "content_images/%s" $file}}
{{- $img := resources.Get $path }}
{{- $img1x := $img.Resize "125x webp q90"}}

<a href="https://www.openbsdfoundation.org/donations.html" target="_blank">
  <img src="{{$img1x.Permalink}}" width="{{$img1x.Width}}" height="{{$img1x.Height}}" alt="Donate to OpenBSD" title="Donate to OpenBSD" >
</a>
</div>