Fix: Hugo seq index korrigiert (1-7 statt 0-6)
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<section class="lampen-grid">
|
<section class="lampen-grid">
|
||||||
{{ range $index, $element := seq 1 7 }}
|
{{ range $index, $element := seq 1 7 }}
|
||||||
<figure class="lampe-card" style="animation-delay: {{ div $index 10 }}s">
|
<figure class="lampe-card" style="animation-delay: {{ div $index 10 }}s">
|
||||||
<img src="/lampen/lampe{{ $index }}.jpg" alt="Lampe {{ $index }}" loading="lazy">
|
<img src="/lampen/lampe{{ $element }}.jpg" alt="Lampe {{ $element }}" loading="lazy">
|
||||||
</figure>
|
</figure>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user