se-facebook-like.html.twig in Share Everywhere 2.x
Same filename and directory in other branches
Default theme implementation for Facebook like button.
Available variables:
- url: The url of the page to be liked.
1 theme call to se-facebook-like.html.twig
- ShareEverywhereService::build in src/
ShareEverywhereService.php - Builds a renderable array of Social buttons.
File
templates/se-facebook-like.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for Facebook like button.
- *
- * Available variables:
- * - url: The url of the page to be liked.
- *
- */
- #}
- <div id="fb-root"></div>
- <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v10.0" nonce="Z6yHY4ug"></script>
- <div class="fb-like" data-href="{{ url }}" data-layout="button_count" data-action="like" data-size="small" data-share="false"></div>