|
|
@ -218,6 +218,9 @@
|
|
|
|
<div class="gallery index">
|
|
|
|
<div class="gallery index">
|
|
|
|
{% for gallery in section.pages %}
|
|
|
|
{% for gallery in section.pages %}
|
|
|
|
<a href="{{ gallery.permalink }}">
|
|
|
|
<a href="{{ gallery.permalink }}">
|
|
|
|
|
|
|
|
{% if gallery.extra.thumbnail %}
|
|
|
|
|
|
|
|
{% set_global img = "." ~ gallery.path ~ gallery.extra.thumbnail %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
{% set_global img = "../static/placeholder-avatar.jpg" %}
|
|
|
|
{% set_global img = "../static/placeholder-avatar.jpg" %}
|
|
|
|
{% for asset in gallery.assets %}
|
|
|
|
{% for asset in gallery.assets %}
|
|
|
|
{% if asset is matching("[.](jpg|png)$") %}
|
|
|
|
{% if asset is matching("[.](jpg|png)$") %}
|
|
|
@ -225,6 +228,7 @@
|
|
|
|
{% break %}
|
|
|
|
{% break %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
<img src="{{ resize_image(path=img, width=300, height=200, op="fill") }}" alt="{{ gallery.title }}">
|
|
|
|
<img src="{{ resize_image(path=img, width=300, height=200, op="fill") }}" alt="{{ gallery.title }}">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="info">
|
|
|
|
<div class="info">
|
|
|
|