fix(carousel): with templating generation

This commit is contained in:
Matthieu Bessat 2023-06-20 23:52:45 +02:00
parent 8def047d77
commit c890ac388e
2 changed files with 28 additions and 58 deletions

View file

@ -0,0 +1,4 @@
{{- $a := index . 0 -}}
{{- $b := index . 1 -}}
{{- $c := mod $a $b -}}
{{- if lt $c 0 -}}{{- add $c $b -}}{{- else -}}{{- $c -}}{{- end -}}