Skip to content
Snippets Groups Projects
Commit 232f5a53 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2407729 by sivaji@knackforge.com, mortendk: Remove classes from system...

Issue #2407729 by sivaji@knackforge.com, mortendk: Remove classes from system templates h*.html.twig
parent 558acd66
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment