Browse Source

removed showrooms bad links from home #1909

bach 1 year ago
parent
commit
e5c6b871db

+ 1 - 1
config/sync/core.entity_view_display.taxonomy_term.showroom.home.yml

@@ -53,7 +53,7 @@ content:
     settings:
       deltas: '0'
       image_style: home_showroom
-      image_link: content
+      image_link: ''
       deltas_reversed: 0
     third_party_settings: {  }
     weight: 0

+ 2 - 1
web/themes/custom/materiotheme/templates/content/taxonomy-term--showroom--home.html.twig

@@ -34,7 +34,8 @@
     {{ content.field_visuels }}
   </div>
   <section class="text">
-    <h2><a href="{{ url }}">{{ name }}</a></h2>
+    {# <h2><a href="{{ url }}">{{ name }}</a></h2> #}
+    <h2>{{ name }}</h2>
     {{ content|without('field_visuels') }}
   </section>
 </div>