test to use custom classes on homepage section

This commit is contained in:
2023-10-20 11:18:59 +02:00
parent e4b0a3eff4
commit 99c956e1f1
3 changed files with 35 additions and 1 deletions

View File

@@ -31,7 +31,7 @@
<!-- Features -->
{{ range $i, $e:= .Params.features }}
<section class="section-sm {{ if (modBool $i 2) }}bg-gradient{{ end }}">
<section class="section-sm {{ with .class }}{{ . }}{{ end }} {{ if (modBool $i 2) }}bg-gradient{{ end }}">
<div class="container">
<div class="row items-center justify-between">
<div