summaryrefslogtreecommitdiffstats
path: root/core/themes/stable/templates/content/media.html.twig
blob: 769b7be751aa309a0a57c52fa0b4e48bcc828ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{#
/**
 * @file
 * Theme override to display a media item.
 *
 * Available variables:
 * - name: Name of the media.
 * - content: Media content.
 *
 * @see template_preprocess_media()
 *
 * @ingroup themeable
 */
#}
<article{{ attributes }}>
  {% if content %}
    {{ content }}
  {% endif %}
</article>