summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/causes.html26
1 files changed, 21 insertions, 5 deletions
diff --git a/layouts/shortcodes/causes.html b/layouts/shortcodes/causes.html
index a3fed857..afc89327 100644
--- a/layouts/shortcodes/causes.html
+++ b/layouts/shortcodes/causes.html
@@ -1,5 +1,21 @@
-<center>
- <a href="https://my.fsf.org/join?referrer=6050678" target="_blank">
- <img src="https://static.fsf.org/nosvn/associate/crm/6050678.png" alt="I am an FSF associate" width="180" height="45">
- </a>
-</center>
+<div class="donor">
+{{- $file := "fsf-donor.png" }}
+{{- $path := printf "content_images/%s" $file}}
+{{- $img := resources.Get $path }}
+{{- $img1x := $img.Resize "180x webp q90"}}
+
+<a href="https://freebsdfoundation.org/donate" target="_blank">
+
+<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>
+</div>