fix: pass the whole event link object into link
This commit is contained in:
parent
d47b518082
commit
46e5fbcced
|
@ -52,7 +52,7 @@
|
|||
{% set eventLink = content.field_link.0 %}
|
||||
|
||||
{% if eventLink %}
|
||||
{{ link(content.field_name, eventLink['#url_title'], { class: 'inline-block' }) }}
|
||||
{{ link(content.field_name, eventLink['#url'], { class: 'inline-block' }) }}
|
||||
{% else %}
|
||||
{{ content.field_name }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue