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