diff --git a/core/themes/bartik/templates/comment-wrapper.html.twig b/core/themes/bartik/templates/comment-wrapper.html.twig deleted file mode 100644 index 2109f41..0000000 --- a/core/themes/bartik/templates/comment-wrapper.html.twig +++ /dev/null @@ -1,49 +0,0 @@ -{# -/** - * @file - * Bartik's theme implementation to provide an HTML container for comments. - * - * Available variables: - * - content: The array of content-related elements for the node. Use - * render_var($content) to print them all, or print a subset such as - * render_var($content['comment_form']). - * - attributes: Remaining html attributes for the containing element. - * It includes the 'class' information, which includes: - * - comment-wrapper: The current template type, i.e., "theming hook". - * - title_prefix: An array containing additional output populated by - * modules, intended to be displayed in front of the main title tag that - * appears in the template. - * - title_suffix: An array containing additional output populated by - * modules, intended to be displayed after the main title tag that - * appears in the template. - * - * The following variables are provided for contextual information. - * - node: The node entity to which the comments belong. - * The constants below the variables show the possible values and should be - * used for comparison. - * - display_mode - * - COMMENT_MODE_FLAT - * - COMMENT_MODE_THREADED - * - * @see template_preprocess() - * @see template_preprocess_comment_wrapper() - * - * @ingroup themeable - */ -#} -
- {# @todo forum module should extend comment template to keep the code in here clean #} - {% if content.comments and node.type != 'forum' %} - {{ title_prefix }} -

{{ 'Comments' | t }}

- {{ title_suffix }} - {% endif %} - - {{ content.comments }} - - {% if content.comment_form %} -

{{ 'Add new comment' | t }}

- {{ content.comment_form }} - {% endif %} - -