löten leuchten
This commit is contained in:
parent
98d803929a
commit
88c564f467
2662 changed files with 195168 additions and 12 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue