mirror of
https://github.com/rottenwheel/revuoxmrtheme.git
synced 2024-11-09 12:10:04 +00:00
fix: check existence of goal as it is never zero
This commit is contained in:
parent
2c4d0682e9
commit
ba46190603
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
{{ $goal := .Get "goal" }}
|
||||
{{ $raised := .Get "raised" }}
|
||||
{{ with .Get "raised" }}
|
||||
{{ with $goal }}
|
||||
<p>Raised <b>{{ $raised }}</b> of <b>{{ $goal }}</b> XMR ({{ div (.) ($goal) | mul 100 | int }}%)</p>
|
||||
{{ end }}
|
||||
</div>
|
Loading…
Reference in a new issue