Poměr stran obrázků v galerii a šířka galerie

content
Emil Miler 4 years ago
parent b3395a1039
commit a1d63695d7

@ -5,7 +5,7 @@
{% endblock %}
{% block content %}
<main>
<main class="fullwidth">
<section class="centering">
<h1>{% if page.extra.heading %}
{{ page.extra.heading }}

@ -211,7 +211,7 @@
<div class="gallery">
{% for asset in page.assets %}
{% if asset is matching("[.](jpg|png)$") %}
<img src="{{ resize_image(path=asset, width=240, height=240, op="fill") }}" alt="{{ asset }}">
<img src="{{ resize_image(path=asset, width=300, height=200, op="fill") }}" alt="{{ asset }}">
{% endif %}
{% endfor %}
</div>

Loading…
Cancel
Save