Fix fontawesome usage and images in home template

Fontawesome in now loaded via a "kit" and the images in the home
template now have a lower quality.
This commit is contained in:
Tobias Reisinger 2020-09-22 00:16:14 +02:00
parent 0b18eae2cf
commit 5c62af5ecc
3 changed files with 4 additions and 6 deletions

View file

@ -50,7 +50,7 @@
{% if news_latest.media.images %}
{% set text_class = 'col-12 col-md-9' %}
<div class="col-12 col-md-3">
<img width="100%" src="{{ news_latest.media.images|first.url }}">
<img width="100%" src="{{ news_latest.media.images|first.quality(25).url }}">
</div>
{% endif %}
<div class="{{ text_class }}">
@ -67,7 +67,7 @@
{% if child.media.images|first %}
{% set text_class = 'col-12 col-md-9' %}
<div class="col-12 col-md-3">
<img width="100%" src="{{ child.media.images|first.url }}">
<img width="100%" src="{{ child.media.images|first.quality(25).url }}">
</div>
{% endif %}
<div class="{{ text_class }}">