diff --git a/layouts/shortcodes/ccs_item.html b/layouts/shortcodes/ccs_item.html index 2cfa50b..7941d88 100644 --- a/layouts/shortcodes/ccs_item.html +++ b/layouts/shortcodes/ccs_item.html @@ -7,7 +7,7 @@ {{ $goal := .Get "goal" }} {{ $raised := .Get "raised" }} - {{ with .Get "raised" }} + {{ with $goal }}
Raised {{ $raised }} of {{ $goal }} XMR ({{ div (.) ($goal) | mul 100 | int }}%)
{{ end }} \ No newline at end of file