diff --git a/layouts/shortcodes/donations.html b/layouts/shortcodes/donations.html index 6b44e8d4..daca1e46 100644 --- a/layouts/shortcodes/donations.html +++ b/layouts/shortcodes/donations.html @@ -1,4 +1,6 @@ -{{ $donations := getJSON "https://api.val.town/v1/run/byjp.donations" }} +{{/* $donations := getJSON "https://api.val.town/v1/run/byjp.donations" */}} +{{/* Having to hard-code for now, as I need to redesign the val.town val, as their API has changed! */}} +{{ $donations := dict "totalGBP" 101.36 "currencyCount" 2 }}
Friends have donated £{{ div (math.Round (mul $donations.totalGBP 100)) 100 }} (in {{ $donations.currencyCount }} currencies) to worthy causes in thanks. Thank you!