1
0
forked from Git/hugo-story
agr.asia/layouts/partials/gallery.html
Henneberg c7d0045b0d added id to gallery partial
fixes issue #16
2022-07-29 20:04:46 +02:00

14 lines
374 B
HTML

<!-- Gallery -->
<section class="wrapper style1 align-center" {{ with .id }} id="{{ . }}"{{ end }}>
<div class="inner">
<h2>{{ .title }}</h2>
<p>{{ .content | safeHTML }}</p>
</div>
<!-- Gallery -->
<div class="gallery {{ .style }}">
{{ range .pictures }}
{{ partial "picture" . }}
{{ end }}
</div>
</section>