Compare commits

...

2 Commits

9 changed files with 63 additions and 0 deletions

BIN
content/services/map_01.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,5 @@
_model: image
---
description: Karte von Deutschland mit markierten Regionen in denen Member wohnen
---
copyright: 2022, by WTF eG

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 446 KiB

View File

@ -0,0 +1,5 @@
_model: image
---
description: Karte von Deutschland mit markierten Regionen in denen Member wohnen
---
copyright: 2022, by WTF eG

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 399 KiB

View File

@ -0,0 +1,5 @@
_model: image
---
description: Karte von Deutschland mit markierten Regionen in denen Member wohnen
---
copyright: 2022, by WTF eG

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 399 KiB

View File

@ -0,0 +1,5 @@
_model: image
---
description: Karte von Deutschland mit markierten Regionen in denen Member wohnen
---
copyright: 2022, by WTF eG

View File

@ -27,7 +27,11 @@
{% if this.attachments.images %} {% if this.attachments.images %}
<div class="content__inner_half_box"> <div class="content__inner_half_box">
{% for image in this.attachments.images %} {% for image in this.attachments.images %}
{% if image.format != 'svg' %}
<img class="content__half_box_image" src="{{ image|url }}" width="{{ image.width / 2 }}" alt="{{ image.description }}" srcset="{{ image.thumbnail(image.width / 2)|url }} 1x, {{ image|url }} 2x"> <img class="content__half_box_image" src="{{ image|url }}" width="{{ image.width / 2 }}" alt="{{ image.description }}" srcset="{{ image.thumbnail(image.width / 2)|url }} 1x, {{ image|url }} 2x">
{% else %}
<img class="content__half_box_image" src="{{ image|url }}" width="100%" alt="{{ image.description }}">
{% endif %}
{% endfor %} {% endfor %}
</div> </div>
{% endif %} {% endif %}