Skip to content

Commit

Permalink
Style Tour de CLARIN section on Kcentre catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Oct 2, 2024
1 parent 1ca8535 commit ee86ea5
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions templates/content/node--k-centre-profile--search-result.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,19 @@
<em>{{ info }}</em>
{% endif %}
{% if more_links %}
{{ content|without('field_see_also_links', 'field_k_centre_full_name') }}
{{ content|without('field_see_also_links', 'field_k_centre_full_name', 'field_tour_de_clarin_intro', 'field_tour_de_clarin_interview') }}
{% else %}
{{ content|without('field_k_centre_full_name') }}
{{ content|without('field_k_centre_full_name', 'field_tour_de_clarin_intro', 'field_tour_de_clarin_interview') }}
{% endif %}
<div class="tour_de_clarin_fields row">
<div class="col-3 p-0 m-auto">
<img src="sites/default/files/media/news/TourdeClarin-v1.png">
</div>
<div class="col-9 pt-3">
<div class="field--label-inline"><div class="field__label">Introduction</div>{{ content.field_tour_de_clarin_intro.0 }}</div>
<div class="field--label-inline"><div class="field__label">Interview</div>{{ content.field_tour_de_clarin_interview.0 }}</div>
</div>
</div>
</div>
{% if more_links %}
<div class="sidebar more-link col-sm-4">
Expand Down

0 comments on commit ee86ea5

Please sign in to comment.