website/layouts/shortcodes/fullmod.html

3 lines
99 B
HTML
Raw Permalink Normal View History

2023-06-23 21:19:30 +00:00
{{ $c := mod (.Get 0) (.Get 1) }}
{{ if lt $c 0 }}{{ add (.Get 1) $c }}{{ else }}{{ $c }}{{ end }}