added id to gallery partial

fixes issue #16
This commit is contained in:
Henneberg 2022-07-29 20:04:46 +02:00
parent 21dd26dda2
commit c7d0045b0d

View File

@ -1,5 +1,5 @@
<!-- Gallery --> <!-- Gallery -->
<section class="wrapper style1 align-center"> <section class="wrapper style1 align-center" {{ with .id }} id="{{ . }}"{{ end }}>
<div class="inner"> <div class="inner">
<h2>{{ .title }}</h2> <h2>{{ .title }}</h2>
<p>{{ .content | safeHTML }}</p> <p>{{ .content | safeHTML }}</p>