From 232f5a53e0dcce7878c1f54783ac92bdd6ccf310 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Mon, 16 Feb 2015 13:01:08 +0000
Subject: [PATCH] Issue #2407729 by sivaji@knackforge.com, mortendk: Remove
 classes from system templates h*.html.twig

---
 core/modules/system/templates/html.html.twig | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/core/modules/system/templates/html.html.twig b/core/modules/system/templates/html.html.twig
index 888cf2ddb0bc..a11c8a47798a 100644
--- a/core/modules/system/templates/html.html.twig
+++ b/core/modules/system/templates/html.html.twig
@@ -29,13 +29,6 @@
  * @ingroup themeable
  */
 #}
-{%
-  set body_classes = [
-    logged_in ? 'user-logged-in',
-    not root_path ? 'path-frontpage' : 'path-' ~ root_path|clean_class,
-    node_type ? 'node--type-' ~ node_type|clean_class,
-  ]
-%}
 <!DOCTYPE html>
 <html{{ html_attributes }}>
   <head>
@@ -44,8 +37,8 @@
     {{ styles }}
     {{ scripts }}
   </head>
-  <body{{ attributes.addClass(body_classes) }}>
-    <a href="#main-content" class="visually-hidden focusable skip-link">
+  <body{{ attributes }}>
+    <a href="#main-content" class="visually-hidden focusable">
       {{ 'Skip to main content'|t }}
     </a>
     {{ page_top }}
-- 
GitLab