first work into renewed gallery

This commit is contained in:
2024-01-30 12:18:28 +01:00
parent 0e16b03230
commit 33fbd81151
7 changed files with 347 additions and 343 deletions

View File

@@ -0,0 +1,11 @@
<!--
SPDX-FileCopyrightText: 2020 Max Mehl <mail@mehl.mx>
SPDX-License-Identifier: MIT
-->
<!-- count how many times we've called this shortcode; load the css if it's the first time -->
{{- .Page.Scratch.Add "gallery" 1 -}}
<div class="snap-gallery">
{{ .Inner }}
</div>
<!-- delete count of gallery figures (but not those of standalone figures -->
{{- .Page.Scratch.Delete "thisgalfig" -}}