forked from kittv/web
1
0
Fork 0

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 %} {% endblock %}
{% block content %} {% block content %}
<main> <main class="fullwidth">
<section class="centering"> <section class="centering">
<h1>{% if page.extra.heading %} <h1>{% if page.extra.heading %}
{{ page.extra.heading }} {{ page.extra.heading }}

@ -211,7 +211,7 @@
<div class="gallery"> <div class="gallery">
{% for asset in page.assets %} {% for asset in page.assets %}
{% if asset is matching("[.](jpg|png)$") %} {% 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 %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>

Loading…
Cancel
Save