Skip to content

Event full content pattern does not display link field in event page content type

Summary

In the event-display pattern the link field is displayed only if the content type is "Event"

{# Link field #}
    {% if link | render %}
      <div class="event-node-full-content-place">
        {% if link | render %}
          {% if cern_node_type != "event_page" %}
            <div class="hard-text">
              <p>
                <a href="{{ link }}" target="_blank">{{ 'Go to Indico Event'|trans }}</a>
              </p>
            </div>
            <div class="custom-text">
              <p></p>
            </div>
          {% endif %}
        {% endif %}
      </div>
    {% endif %}

Possible fixes

Remove the if conditional

Related Issues

Edited by Konstantinos Platis
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information