Skip to content

Commit 0572c3c

Browse files
author
Simon L. Lange
committed
VLZ-673-37732: dynamically set url for event node
1 parent 4e47d30 commit 0572c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/themes/custom/subsites/fds_ringsted_theme/templates/node/teaser/node--os2web-event--teaser.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
] %}
8181
{{ attach_library('classy/node') }}
8282
<article{{ attributes.addClass(classes) }}>
83-
<a class="fullhref" target="_blank" href="{{ node.field_os2web_event_url.value }}" rel="bookmark">{{ label }}</a>
83+
<a class="fullhref" target="_blank" href="{{ url('entity.node.canonical', {'node': node.id}) }}" rel="bookmark">{{ label }}</a>
8484

8585
{{ title_prefix }}
8686
{% if label and not page %}

0 commit comments

Comments
 (0)