Version 1
[yaffs-website] / web / core / modules / forum / templates / forums.html.twig
diff --git a/web/core/modules/forum/templates/forums.html.twig b/web/core/modules/forum/templates/forums.html.twig
new file mode 100644 (file)
index 0000000..5116c76
--- /dev/null
@@ -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 %}