www.kontakt-bamberg.de/layouts/partials/gallery/slide.html

11 lines
425 B
HTML
Raw Permalink Normal View History

2023-03-13 00:59:21 +01:00
{{ $curr := index . "curr" }}
{{ $prev := index . "prev" }}
{{ $next := index . "next" }}
<article class="slide" id="{{ $curr.Name }}">
<a href="#-"><img alt="{{ $curr.Title }}" loading="lazy" src="{{ $curr.RelPermalink }}"></a>
<p>
<a{{ with $prev }} href="#{{ .Name }}"{{ end }}>{{ with $prev }}Zurück{{ end }}</a>
<a{{ with $next }} href="#{{ .Name }}"{{ end }}>{{ with $next }}Weiter{{ end }}</a>
</p>
</article>