diff --git a/layouts/landing-matthieu/list.html b/layouts/landing-matthieu/list.html index 8c7365a..df325a1 100644 --- a/layouts/landing-matthieu/list.html +++ b/layouts/landing-matthieu/list.html @@ -227,67 +227,33 @@ + {{ $slides_count := 6 }} diff --git a/layouts/partials/fullmod.html b/layouts/partials/fullmod.html new file mode 100644 index 0000000..b37752b --- /dev/null +++ b/layouts/partials/fullmod.html @@ -0,0 +1,4 @@ +{{- $a := index . 0 -}} +{{- $b := index . 1 -}} +{{- $c := mod $a $b -}} +{{- if lt $c 0 -}}{{- add $c $b -}}{{- else -}}{{- $c -}}{{- end -}}