fix: add link class to event name

Refs: #452
This commit is contained in:
Oliver Davies 2021-12-19 13:43:06 +00:00
parent 1bdc4194fa
commit 2fb01918eb

View file

@ -52,7 +52,7 @@
{% set eventLink = content.field_link.0 %} {% set eventLink = content.field_link.0 %}
{% if eventLink %} {% if eventLink %}
{{ link(content.field_name, eventLink['#url'], { class: 'inline-block' }) }} {{ link(content.field_name, eventLink['#url'], { class: 'link inline-block' }) }}
{% else %} {% else %}
{{ content.field_name }} {{ content.field_name }}
{% endif %} {% endif %}