{# /** * @file * Magazine+'s theme implementation to display a Product node. */ #} {% set classes = [ 'node', 'node--type-' ~ node.bundle|clean_class, node.isPromoted() ? 'node--promoted', node.isSticky() ? 'node--sticky', not node.isPublished() ? 'node--unpublished', view_mode ? 'node--view-mode-' ~ view_mode|clean_class, 'clearfix', ] %} {{ attach_library('classy/node') }} {{ attach_library('magazineplus/node') }}
{% block node_side_first %} {% if content.field_image|render %}
{{ content.field_image }}
{% endif %} {% endblock %} {% block content %} {{ attach_library('magazineplus/node-product') }}
{{ title_prefix }} {% if not page %} {{ label }} {% endif %} {{ title_suffix }} {% if display_submitted %}
{{ author_picture }} {% trans %}By {{ author_name }} on {{ date }}{% endtrans %} {{ metadata }}
{% endif %}
{{ content|without('comment', 'field_image', 'field_mt_pricing_table', 'links') }}
{% endblock %}
{{ content.field_mt_pricing_table }} {{ content.links }} {{ content.comment }}