löten leuchten

This commit is contained in:
Aron Petau 2025-05-17 17:09:41 +02:00
parent 98d803929a
commit 88c564f467
2662 changed files with 195168 additions and 12 deletions

View file

@ -3,9 +3,12 @@
<div id="image-gallery">
<ul class="gallery">
{% for item in gallery_data %}
{% set base_path = page.path | split(pat="/") | slice(end=-1) | join(sep="/") %}
{% set image_path = base_path ~ "/" ~ item.file %}
{% set image_url = get_url(path=image_path) %}
<li class="gallery-item">
<a href="{{ item.file }}" class="lightbox" target="_blank">
<img src="{{ item.file }}" {% if item.alt %}alt="{{ item.alt }}"{% endif %}>
<a href="{{ image_url }}" class="lightbox" target="_blank">
<img src="{{ image_url }}" {% if item.alt %}alt="{{ item.alt }}"{% endif %}>
</a>
{% if item.title %}
<p class="caption">{{ item.title }}</p>