hugo-story/exampleSite/layouts/partials/items.html
2023-01-18 18:59:02 -05:00

12 lines
367 B
HTML

<!-- Items -->
<section class="wrapper style1 align-center">
<div class="inner">
{{ with .title }}<h2>{{ . }}</h2>{{ end }}
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
<div class="items {{ .style }}">
{{ range .items }}
{{ partial "item" . }}
{{ end }}
</div>
</div>
</section>