You are here

social-tagging-nosplit.html.twig in Open Social 8.8

post.html.twig Default theme implementation to present Post data.

This template is used when viewing Post pages.

Available variables:

  • content: A list of content items. Use 'content' to print all content, or
  • attributes: HTML attributes for the container element.

File

modules/social_features/social_tagging/templates/social-tagging-nosplit.html.twig
View source
  1. {#
  2. /**
  3. * @file post.html.twig
  4. * Default theme implementation to present Post data.
  5. *
  6. * This template is used when viewing Post pages.
  7. *
  8. *
  9. * Available variables:
  10. * - content: A list of content items. Use 'content' to print all content, or
  11. * - attributes: HTML attributes for the container element.
  12. *
  13. * @see template_preprocess_post()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <div class="card__block">
  19. <p><strong>{{ tagstitle }}</strong></p>
  20. {% for tag, url in tags %}
  21. <a class="badge badge-default badge--large badge--pill" href="{{ url }}">{{ tag }}</a>
  22. {% endfor %}
  23. </div>