Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/caressofsteel/hugo-story.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author⚔️ DR ⚔️ <46758080+caressofsteel@users.noreply.github.com>2022-08-03 02:04:56 +0300
committerGitHub <noreply@github.com>2022-08-03 02:04:56 +0300
commited06e518fab7854b9364ac593b8879c30e0df01c (patch)
treea72da24c511e4ecd299acfe66840fa5ef949fd01
parent21dd26dda2b0927c2594e9fefd5e527dace6ff46 (diff)
parentc7d0045b0dae1ba47da4354d634b868c0bff3220 (diff)
Merge pull request #29 from JHenneberg/fix/He/16
added id to gallery partial
-rw-r--r--layouts/partials/gallery.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/gallery.html b/layouts/partials/gallery.html
index 11e72c9..4af2fc8 100644
--- a/layouts/partials/gallery.html
+++ b/layouts/partials/gallery.html
@@ -1,5 +1,5 @@
<!-- Gallery -->
-<section class="wrapper style1 align-center">
+<section class="wrapper style1 align-center" {{ with .id }} id="{{ . }}"{{ end }}>
<div class="inner">
<h2>{{ .title }}</h2>
<p>{{ .content | safeHTML }}</p>