amp-8.x-3.5/templates/amp-social-post-theme.html.twig
templates/amp-social-post-theme.html.twig
{#
/**
* @file
* Template for amp-social-post-theme.
*
* Available variables:
* - provider: The social provider.
* - placeholder: Placeholder for amp-twitter.
* - 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_social_post_theme()
*/
#}
<amp-{{ provider }}{{ attributes }}>
{% if placeholder %}
<blockquote placeholder>
{{ placeholder }}
</blockquote>
{% endif %}
</amp-{{ provider }}>
