{# /** * @file * Business+ Lites's theme implementation to display a Article node. */ #} {% extends "node.html.twig" %} {% block node_side %} {% if mt_setting.reading_time or mt_setting.share_links or mt_setting.font_resize or mt_setting.post_progress or mt_setting.print_button %}
{% if mt_setting.reading_time %} {{ attach_library('businessplus_lite/reading-time') }}
{% if minutes < 1 %} {% trans %} 1
min read
{% endtrans %} {% else %} {% trans %} {{ minutes }}
min read
{% endtrans %} {% endif %}
{% endif %} {% if mt_setting.affix_side %} {{ attach_library('businessplus_lite/node-side-affix') }}
{% endif %} {% if mt_setting.font_resize %} {{ attach_library('businessplus_lite/font-resize') }}
A- A+
{% endif %} {% if mt_setting.post_progress %} {{ attach_library('businessplus_lite/post-progress') }}
{% trans %}read{% endtrans %}
{% endif %} {% if mt_setting.share_links_print_position == "node-side" and (mt_setting.share_links or mt_setting.print_button) %} {{ attach_library('businessplus_lite/share-links') }} {% endif %} {% if mt_setting.affix_side %}
{% endif %} {% if mt_setting.share_links_print_position == "bottom" and (mt_setting.share_links or mt_setting.print_button) %} {{ attach_library('businessplus_lite/share-links') }} {{ attach_library('businessplus_lite/fixed-share-links') }} {% endif %}
{% endif %} {% endblock %} {% block meta_area %} {{ title_prefix }} {% if not page %} {{ label }} {% endif %} {{ title_suffix }} {{ content.field_mt_subheader_body }} {% if display_submitted or (node.comment and comment_count > 0) %}
{% if display_submitted %} {{ date }} {% trans %} By {{ author_name }}{% endtrans %} {{ metadata }} {% endif %} {% if node.comment and comment_count > 0 %}
{% trans %} 1 comment {% plural comment_count %} {{ comment_count }} comments {% endtrans %}
{% endif %}
{% endif %} {% endblock %} {% block content %} {{ attach_library('businessplus_lite/node-article') }}
{{ content|without('comment', 'links', 'field_mt_subheader_body', 'field_mt_banner_image') }}
{% if author_picture or node.Owner.field_mt_full_name.value or node.Owner.field_mt_signature.value %}
{% if author_picture %}
{{ author_picture }}
{% endif %} {% if node.Owner.field_mt_full_name.value %}
{{ node.Owner.field_mt_full_name.value }}
{% endif %} {% if node.Owner.field_mt_signature.value %}
{{ node.Owner.field_mt_signature.value }}
{% endif %} {% endif %} {{ content.links }} {{ content.comment }} {% endblock %}