diff --git a/at_core/templates/content/paragraph.html.twig b/at_core/templates/content/paragraph.html.twig index f23c6ae..5929aab 100644 --- a/at_core/templates/content/paragraph.html.twig +++ b/at_core/templates/content/paragraph.html.twig @@ -19,7 +19,7 @@ * The attributes.class element may contain one or more of the following * classes: * - paragraphs: The current template type (also known as a "theming hook"). - * - paragraphs--type-[type]: The current paragraphs type. For example, if the paragraph is an + * - paragraphs--type--[type]: The current paragraphs type. For example, if the paragraph is an * "Image" it would result in "paragraphs--type--image". Note that the machine * name will often be in a short form of the human readable label. * - paragraphs--view-mode--[view_mode]: The View Mode of the paragraph; for example, a @@ -39,8 +39,8 @@ {% set classes = [ 'paragraph', - 'paragraph--type-' ~ paragraph.bundle|clean_class, - view_mode ? 'paragraph--view-mode-' ~ view_mode|clean_class, + 'paragraph--type--' ~ paragraph.bundle|clean_class, + view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, ] %}