Add content
This commit is contained in:
parent
5a29645ee4
commit
568e1d3fad
207 changed files with 855 additions and 830 deletions
|
@ -10,4 +10,5 @@ size: small
|
|||
image:
|
||||
ratio: 1/1
|
||||
cover: true
|
||||
query: page.files.sortBy('sort').first
|
||||
back: white
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
<div class="gallery__introduction">{{ page.text.kirbytext|raw }}</div>
|
||||
{% endif %}
|
||||
<div class="gallery__artworks">
|
||||
{% for file in page.files %}
|
||||
{% set files = page.files.sortBy('sort') %}
|
||||
{% for file in files %}
|
||||
{% if file.type == 'image' %}
|
||||
<figure class="gallery__image">
|
||||
<img src="{{ file.url }}" srcset="{{ file.srcset() }}" alt="{{ file.alt_text }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue