You are here

easy-social.html.twig in Easy Social 8.3

Same filename and directory in other branches
  1. 8.4 templates/easy-social.html.twig

Default theme implementation for a date / time element.

Available variables

  • attributes: (optional) HTML attributes to apply to the block.
  • widgets: The widgets to be rendered.
  • async: If we want to render JS ASsynchronously.
  • config: The widget configuration.

File

templates/easy-social.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a date / time element.
  5. *
  6. * Available variables
  7. * - attributes: (optional) HTML attributes to apply to the block.
  8. * - widgets: The widgets to be rendered.
  9. * - async: If we want to render JS ASsynchronously.
  10. * - config: The widget configuration.
  11. *
  12. */
  13. #}
  14. <ul class="easy_social_box clearfix {{ atributes.classes }}" {{ attributes }}>
  15. {% for key, widget in widgets %}
  16. <li class="easy_social-widget easy_social-widget-{{ key }}"> {{ widget }} </li>
  17. {% endfor %}
  18. </ul>