paspo cdfe2d61ab
All checks were successful
Vulnerability Scan / Daily Vulnerability Scan (push) Successful in 1m42s
Container Publish / build-image (push) Successful in 8m47s
homepage highlight icons cliccabili (#268)
fixes #260

Reviewed-on: #268
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-09-29 19:10:29 +00:00

23 lines
843 B
HTML

<section class="wrapper style1">
<div class="container">
<div class="row gtr-200">
{{- $item_cols := (div 12 (.item.items_per_row | default 3)) }}
{{- range .item.items }}
<section class="col-{{ $item_cols }} col-12-narrower">
<div class="box highlight">
{{- if .url -}}
<a href="{{ .url }}">
{{- end -}}
<i class="icon solid major {{ .icon }}"></i>
<h3>{{ .title }}</h3>
{{- if .url -}}
</a>
{{- end -}}
<p>{{ .content | markdownify }}</p>
</div>
</section>
{{- end }}
</div>
</div>
</section>