{#

This file is part of the Sonata package.

(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}
{% extends sonata_block.templates.block_base %}

{% block block %}
{% spaceless %}

    <div class="fb-share-button"
        {% if settings.url %}data-href="{{ settings.url }}"{% endif %}
        {% if settings.width %}data-width="{{ settings.width }}"{% endif %}
        data-type="{{ settings.layout }}">
    </div>

{% endspaceless %}
{% endblock %}
