forked from Git/hugo-story
2023 Updates
This commit is contained in:
14
exampleSite/layouts/partials/gallery.html
Normal file
14
exampleSite/layouts/partials/gallery.html
Normal file
@ -0,0 +1,14 @@
|
||||
<!-- 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>
|
Reference in New Issue
Block a user