Commit bc491331 authored by alexpott's avatar alexpott
Browse files

Issue #2407735 by mortendk, sivaji@knackforge.com, hussainweb: Remove classes...

Issue #2407735 by mortendk, sivaji@knackforge.com, hussainweb: Remove classes from system templates m*.html.twig
parent 7f6245ab
......@@ -11,7 +11,7 @@
* @ingroup themeable
*/
#}
<div class="layout-container">
<div>
<header role="banner">
{% if logo %}
......@@ -21,17 +21,17 @@
{% endif %}
{% if site_name or site_slogan %}
<div class="name-and-slogan">
<div>
{% if site_name %}
<h1 class="site-name">
<h1>
<a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a>
</h1>
{% endif %}
{% if site_slogan %}
<div class="site-slogan">{{ site_slogan }}</div>
<div>{{ site_slogan }}</div>
{% endif %}
</div>{# /.name-and-slogan #}
</div>
{% endif %}
</header>
......@@ -47,15 +47,15 @@
</main>
{% if page.sidebar_first %}
<aside class="layout-sidebar-first" role="complementary">
<aside role="complementary">
{{ page.sidebar_first }}
</aside>{# /.layout-sidebar-first #}
</aside>
{% endif %}
{% if page.sidebar_second %}
<aside class="layout-sidebar-second" role="complementary">
<aside role="complementary">
{{ page.sidebar_second }}
</aside>{# /.layout-sidebar-second #}
</aside>
{% endif %}
{% if page.footer %}
......@@ -64,4 +64,4 @@
</footer>
{% endif %}
</div>{# /.layout-container #}
</div>
......@@ -15,8 +15,8 @@
#}
{% if logged_in %}
{% if status is constant('MARK_NEW') %}
<span class="marker">{{ 'new'|t }}</span>
<span>{{ 'new'|t }}</span>
{% elseif status is constant('MARK_UPDATED') %}
<span class="marker">{{ 'updated'|t }}</span>
<span>{{ 'updated'|t }}</span>
{% endif %}
{% endif %}
......@@ -17,9 +17,9 @@
#}
{% if primary %}
<h2 class="visually-hidden">{{ 'Primary tabs'|t }}</h2>
<ul class="tabs primary">{{ primary }}</ul>
<ul>{{ primary }}</ul>
{% endif %}
{% if secondary %}
<h2 class="visually-hidden">{{ 'Secondary tabs'|t }}</h2>
<ul class="tabs secondary">{{ secondary }}</ul>
<ul>{{ secondary }}</ul>
{% endif %}
......@@ -27,9 +27,9 @@
{% import _self as menus %}
{% if items %}
{% if menu_level == 0 %}
<ul{{ attributes.addClass('menu') }}>
<ul{{ attributes }}>
{% else %}
<ul class="menu">
<ul>
{% endif %}
{% for item in items %}
<li{{ item.attributes }}>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment