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 @@ ...@@ -11,7 +11,7 @@
* @ingroup themeable * @ingroup themeable
*/ */
#} #}
<div class="layout-container"> <div>
<header role="banner"> <header role="banner">
{% if logo %} {% if logo %}
...@@ -21,17 +21,17 @@ ...@@ -21,17 +21,17 @@
{% endif %} {% endif %}
{% if site_name or site_slogan %} {% if site_name or site_slogan %}
<div class="name-and-slogan"> <div>
{% if site_name %} {% if site_name %}
<h1 class="site-name"> <h1>
<a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a> <a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a>
</h1> </h1>
{% endif %} {% endif %}
{% if site_slogan %} {% if site_slogan %}
<div class="site-slogan">{{ site_slogan }}</div> <div>{{ site_slogan }}</div>
{% endif %} {% endif %}
</div>{# /.name-and-slogan #} </div>
{% endif %} {% endif %}
</header> </header>
...@@ -47,15 +47,15 @@ ...@@ -47,15 +47,15 @@
</main> </main>
{% if page.sidebar_first %} {% if page.sidebar_first %}
<aside class="layout-sidebar-first" role="complementary"> <aside role="complementary">
{{ page.sidebar_first }} {{ page.sidebar_first }}
</aside>{# /.layout-sidebar-first #} </aside>
{% endif %} {% endif %}
{% if page.sidebar_second %} {% if page.sidebar_second %}
<aside class="layout-sidebar-second" role="complementary"> <aside role="complementary">
{{ page.sidebar_second }} {{ page.sidebar_second }}
</aside>{# /.layout-sidebar-second #} </aside>
{% endif %} {% endif %}
{% if page.footer %} {% if page.footer %}
...@@ -64,4 +64,4 @@ ...@@ -64,4 +64,4 @@
</footer> </footer>
{% endif %} {% endif %}
</div>{# /.layout-container #} </div>
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
#} #}
{% if logged_in %} {% if logged_in %}
{% if status is constant('MARK_NEW') %} {% if status is constant('MARK_NEW') %}
<span class="marker">{{ 'new'|t }}</span> <span>{{ 'new'|t }}</span>
{% elseif status is constant('MARK_UPDATED') %} {% elseif status is constant('MARK_UPDATED') %}
<span class="marker">{{ 'updated'|t }}</span> <span>{{ 'updated'|t }}</span>
{% endif %} {% endif %}
{% endif %} {% endif %}
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
#} #}
{% if primary %} {% if primary %}
<h2 class="visually-hidden">{{ 'Primary tabs'|t }}</h2> <h2 class="visually-hidden">{{ 'Primary tabs'|t }}</h2>
<ul class="tabs primary">{{ primary }}</ul> <ul>{{ primary }}</ul>
{% endif %} {% endif %}
{% if secondary %} {% if secondary %}
<h2 class="visually-hidden">{{ 'Secondary tabs'|t }}</h2> <h2 class="visually-hidden">{{ 'Secondary tabs'|t }}</h2>
<ul class="tabs secondary">{{ secondary }}</ul> <ul>{{ secondary }}</ul>
{% endif %} {% endif %}
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
{% import _self as menus %} {% import _self as menus %}
{% if items %} {% if items %}
{% if menu_level == 0 %} {% if menu_level == 0 %}
<ul{{ attributes.addClass('menu') }}> <ul{{ attributes }}>
{% else %} {% else %}
<ul class="menu"> <ul>
{% endif %} {% endif %}
{% for item in items %} {% for item in items %}
<li{{ item.attributes }}> <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