{# /** * @file * Startup Growths's theme implementation to display a Article node. */ #} {% extends "node.html.twig" %} {% block meta_area %} {% if display_submitted %}
{{ author_picture }} {% trans %}By {{ author_name }}{% endtrans %} {{ metadata }}
{% endif %} {% endblock %} {% block node_side %} {% if display_submitted or node.comment or (view_mode == "full" and mt_setting.reading_time) or (view_mode == "full" and mt_setting.post_progress) %}
{% if display_submitted %}
{{ node.createdtime|format_date('custom', 'M') }}
{{ node.createdtime|format_date('custom', 'd') }}
{{ node.createdtime|format_date('custom', 'Y') }}
{% endif %} {% if node.comment %}
{{ comment_count }}
{% endif %} {% if view_mode == "full" and (mt_setting.reading_time or mt_setting.post_progress) %} {{ attach_library('startupgrowth/node-side-affix') }}
{% if mt_setting.reading_time %}
{% trans %}Time to read{% endtrans %}
{% if minutes < 1 %} {% trans %}less than 1 minute{% endtrans %} {% elseif minutes < 2 %} {{ minutes }} {% trans %}minute{% endtrans %} {% else %} {{ minutes }} {% trans %}minutes{% endtrans %} {% endif %}
{% endif %} {% if mt_setting.post_progress %} {{ attach_library('startupgrowth/post-progress') }}
{% trans %}Read so far{% endtrans %}
{% endif %}
{% endif %}
{% endif %} {% endblock %} {% block content %}
{{ content|without('comment') }}
{{ content.comment }} {% endblock %}