Attempt to fix auto left-right
This commit is contained in:
parent
36b8e910c7
commit
6981e6fc16
|
@ -5,7 +5,7 @@
|
||||||
<!-- Projects-->
|
<!-- Projects-->
|
||||||
<section class="projects-section bg-light" id="projects">
|
<section class="projects-section bg-light" id="projects">
|
||||||
<div class="container px-4 px-lg-5">
|
<div class="container px-4 px-lg-5">
|
||||||
{% leftOrRight = 1 %}
|
{% set leftOrRight = 1 %}
|
||||||
{% for project in this.children %}
|
{% for project in this.children %}
|
||||||
{% set image = project.attachments.images.first() %}
|
{% set image = project.attachments.images.first() %}
|
||||||
<div class="row gx-0 mb-5 mb-md-0 justify-content-center">
|
<div class="row gx-0 mb-5 mb-md-0 justify-content-center">
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% i = i + 1 %}
|
{% set leftOrRight = leftOrRight + 1 %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue