X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fthemes%2Fstable%2Ftemplates%2Fcontent%2Fmedia.html.twig;fp=web%2Fcore%2Fthemes%2Fstable%2Ftemplates%2Fcontent%2Fmedia.html.twig;h=769b7be751aa309a0a57c52fa0b4e48bcc828ba8;hp=0000000000000000000000000000000000000000;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 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 index 000000000..769b7be75 --- /dev/null +++ b/web/core/themes/stable/templates/content/media.html.twig @@ -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 + */ +#} + + {% if content %} + {{ content }} + {% endif %} +