forums.html.twig 532 B

1234567891011121314151617181920212223
  1. {#
  2. /**
  3. * @file
  4. * Theme override to display a forum.
  5. *
  6. * May contain forum containers as well as forum topics.
  7. *
  8. * Available variables:
  9. * - forums: The forums to display (as processed by forum-list.html.twig).
  10. * - topics: The topics to display.
  11. * - topics_pager: The topics pager.
  12. * - forums_defined: A flag to indicate that the forums are configured.
  13. *
  14. * @see template_preprocess_forums()
  15. */
  16. #}
  17. {% if forums_defined %}
  18. <div class="forum">
  19. {{ forums }}
  20. {{ topics }}
  21. {{ topics_pager }}
  22. </div>
  23. {% endif %}