Security update for Core, with self-updated composer
[yaffs-website] / web / core / themes / stable / templates / content / media.html.twig
diff --git a/web/core/themes/stable/templates/content/media.html.twig b/web/core/themes/stable/templates/content/media.html.twig
new file mode 100644 (file)
index 0000000..769b7be
--- /dev/null
@@ -0,0 +1,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>