vendor/sonata-project/seo-bundle/src/Resources/views/Block/_facebook_sdk.html.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of the Sonata package.
  3. (c) Thomas Rabaix <[email protected]>
  4. For the full copyright and license information, please view the LICENSE
  5. file that was distributed with this source code.
  6. #}
  7. {% block facebook_sdk %}
  8. {% spaceless %}
  9.     <div id="fb-root"></div>
  10.     <script>(function(d, s, id) {
  11.             var js, fjs = d.getElementsByTagName(s)[0];
  12.             if (d.getElementById(id)) return;
  13.             js = d.createElement(s); js.id = id;
  14.             js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  15.             fjs.parentNode.insertBefore(js, fjs);
  16.         }(document, 'script', 'facebook-jssdk'));
  17.     </script>
  18. {% endspaceless %}
  19. {% endblock %}