fix(carousel): with templating generation
This commit is contained in:
parent
bb0d92ead7
commit
d96122050d
2 changed files with 28 additions and 58 deletions
4
layouts/partials/fullmod.html
Normal file
4
layouts/partials/fullmod.html
Normal 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 -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue