diff options
Diffstat (limited to 'layouts/shortcodes/causes.html')
-rw-r--r-- | layouts/shortcodes/causes.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/layouts/shortcodes/causes.html b/layouts/shortcodes/causes.html index 51123e2f..19bbcf30 100644 --- a/layouts/shortcodes/causes.html +++ b/layouts/shortcodes/causes.html @@ -14,6 +14,14 @@ {{- $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" > + <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> |