amp-facebook.html.twig in Accelerated Mobile Pages (AMP) 8.3
Template for amp-facebook.
Available variables:
- attributes: The HTML attributes for amp-facebook:
- layout: The layout of the element.
- height: The height of the element.
- width: The width of the element.
- data-embed-as: Embed as post or video.
- data-align-center: Center align or not.
See also
template_preprocess_amp_facebook()
File
templates/amp-facebook.html.twigView source
- {#
- /**
- * @file
- * Template for amp-facebook.
- *
- * Available variables:
- * - attributes: The HTML attributes for amp-facebook:
- * - layout: The layout of the element.
- * - height: The height of the element.
- * - width: The width of the element.
- * - data-embed-as: Embed as post or video.
- * - data-align-center: Center align or not.
- *
- * @see template_preprocess_amp_facebook()
- */
- #}
- <amp-facebook{{ attributes }}>
- </amp-facebook>