{#
/**
 * @file
 * Dark+'s theme implementation to display a Post node in teaser tile view mode.
 */
#}
{%
  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,
  ]
%}
{{ attach_library('darkplus/node-view-mode-teaser-tile') }}
{% set image = content.field_mt_pst_image %}
{% set teaser_tile_pre_content_first = node.getCreatedTime|date('M d, Y') %}
{% set teaser_tile_pre_content_second = content.field_mt_pst_category %}
{% set rendered_content = content|without('field_mt_pst_image', 'field_mt_pst_category') %}
{% if display_submitted %}
  {% set teaser_tile_content = author_name %}
{% else %}
  {% set teaser_tile_content = null %}
{% endif %}
{% set image_caption = null %}
{% set teaser_tile_subtitle = null %}
{% set date_overlay = false %}
{% set submitted_day = null %}
{% set submitted_month = null %}
{% set submitted_year = null %}
{% include '@darkplus/partials/_mt-teaser-tile.html.twig' %}
