change content behaviour, change open-element to collapsible, several fixes

This commit is contained in:
2022-06-05 14:04:16 +02:00
parent 0f1bcd9b6b
commit eae085b019
58 changed files with 212 additions and 272 deletions

View File

@ -26,9 +26,6 @@ Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
<div class="img" style="background-image: url('{{ if $thumbexists }}{{ $thumbURL }}{{ else }}{{ $linkURL }}{{ end }}');" >
<img itemprop="thumbnail" src="{{ if $thumbexists }}{{ $thumbURL }}{{ else }}{{ $linkURL }}{{ end }}" alt="{{ $caption }}" /><!-- <img> hidden if in .gallery -->
</div>
<figcaption>
<p>{{ $caption }}</p>
</figcaption>
<a href="{{ $linkURL }}" itemprop="contentUrl"></a><!-- put <a> last so it is stacked on top -->
</figure>
</div>