You are here

se-facebook-like.html.twig in Share Everywhere 2.x

Same filename and directory in other branches
  1. 8 templates/se-facebook-like.html.twig

Default theme implementation for Facebook like button.

Available variables:

  • url: The url of the page to be liked.

File

templates/se-facebook-like.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for Facebook like button.
  5. *
  6. * Available variables:
  7. * - url: The url of the page to be liked.
  8. *
  9. */
  10. #}
  11. <div id="fb-root"></div>
  12. <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v10.0" nonce="Z6yHY4ug"></script>
  13. <div class="fb-like" data-href="{{ url }}" data-layout="button_count" data-action="like" data-size="small" data-share="false"></div>