Skip to content
Snippets Groups Projects
Commit 4f817d64 authored by Sam Summy's avatar Sam Summy
Browse files

Add bundle & view mode classes to the Node

parent 893cd40a
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@
not node.isPublished() ? 'node--unpublished',
node.bundle|clean_class,
node.bundle|clean_class ~ '--' ~ view_mode|clean_class,
'node--' ~ node.bundle|clean_class ~ '--' ~ view_mode|clean_class,
'view-mode--' ~ view_mode|clean_class,
]|merge(node_utility_classes ? node_utility_classes : [])
%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment