You are here

block--facebook-comments-block.html.twig in Facebook Comments Block 8.2

Same filename and directory in other branches
  1. 8 templates/block--facebook-comments-block.html.twig
<div id="fb-root"></div>
{% if facebook_app_lang and facebook_app_id %}
  <script async defer crossorigin="anonymous" src="https://connect.facebook.net/{{ facebook_app_lang }}/sdk.js#xfbml=1&version=v4.0{{ facebook_app_id }}&autoLogAppEvents=1"></script>
{% endif %}
{% if data_attributes %}
  <div class="fb-comments" {{ data_attributes }}></div>
{% endif %}

File

templates/block--facebook-comments-block.html.twig
View source
  1. <div id="fb-root"></div>
  2. {% if facebook_app_lang and facebook_app_id %}
  3. <script async defer crossorigin="anonymous" src="https://connect.facebook.net/{{ facebook_app_lang }}/sdk.js#xfbml=1&version=v4.0{{ facebook_app_id }}&autoLogAppEvents=1"></script>
  4. {% endif %}
  5. {% if data_attributes %}
  6. <div class="fb-comments" {{ data_attributes }}></div>
  7. {% endif %}