diff --git a/templates/case_study/show.html.twig b/templates/case_study/show.html.twig index dc01cdc0847..40518fd9b6d 100644 --- a/templates/case_study/show.html.twig +++ b/templates/case_study/show.html.twig @@ -103,19 +103,17 @@ {% for technologySlug in caseStudy.technologies %} {% set technology = content_get('App\\Model\\Technology', technologySlug) %}
  • - + {% if technology.show %} + + Logo {{ technology.logo }} + {{ technology.name }} + + {% else %}
    - {% if technology.logo|default(false) %} - logo {{ technology.name }} - {% endif %} + Logo {{ technology.logo }} {{ technology.name }}
    - + {% endif %}
  • {% endfor %} diff --git a/templates/site/home.html.twig b/templates/site/home.html.twig index 4865de5d720..bed13c06252 100644 --- a/templates/site/home.html.twig +++ b/templates/site/home.html.twig @@ -142,16 +142,17 @@ {% for item in technos %} {% set techno = content_get('App\\Model\\Technology', item.id) %}
  • - + {% if techno.show %} + + {{ item.alt }} + {{ techno.name }} + + {% else %}
    {{ item.alt }} {{ techno.name }}
    - + {% endif %}
  • {% endfor %}