Mercurial > hg > cmmr2012-drupal-site
diff core/modules/forum/templates/forums.html.twig @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children | a9cd425dd02b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/forum/templates/forums.html.twig Thu Jul 05 14:24:15 2018 +0000 @@ -0,0 +1,23 @@ +{# +/** + * @file + * Default theme implementation to display a forum. + * + * May contain forum containers as well as forum topics. + * + * Available variables: + * - forums: The forums to display (as processed by forum-list.html.twig). + * - topics: The topics to display. + * - topics_pager: The topics pager. + * - forums_defined: A flag to indicate that the forums are configured. + * + * @see template_preprocess_forums() + * + * @ingroup themeable + */ +#} +{% if forums_defined %} + {{ forums }} + {{ topics }} + {{ topics_pager }} +{% endif %}