Issue #2395825 by emma.maria, jennyOlsen, DickJohnson: Remove closing tag comments in template files

8.0.x
Alex Pott 2015-01-12 12:47:32 +00:00
parent 3bd3baf2e9
commit a92c3a110a
3 changed files with 37 additions and 37 deletions

View File

@ -90,8 +90,8 @@
<p class="comment-parent visually-hidden">{{ parent }}</p> <p class="comment-parent visually-hidden">{{ parent }}</p>
{% endif %} {% endif %}
</div> </div>
</div> <!-- /.attribution --> </div>
</header> <!-- /.comment-header --> </header>
<div class="comment-text"> <div class="comment-text">
<div class="comment-arrow"></div> <div class="comment-arrow"></div>
{# {#
@ -107,7 +107,7 @@
{% endif %} {% endif %}
<div{{ content_attributes.addClass('content') }}> <div{{ content_attributes.addClass('content') }}>
{{ content|without('links') }} {{ content|without('links') }}
</div> <!-- /.content --> </div>
<footer class="comment-footer"> <footer class="comment-footer">
{% if signature %} {% if signature %}
<div class="user-signature clearfix">{{ signature }}</div> <div class="user-signature clearfix">{{ signature }}</div>
@ -115,6 +115,6 @@
{% if content.links %} {% if content.links %}
<nav>{{ content.links }}</nav> <nav>{{ content.links }}</nav>
{% endif %} {% endif %}
</footer> <!-- /.comment-footer --> </footer>
</div> <!-- /.comment-text --> </div>
</article> </article>

View File

@ -26,10 +26,10 @@
{{ site_slogan }} {{ site_slogan }}
</div> </div>
{% endif %} {% endif %}
</div> <!-- /#name-and-slogan --> </div>
{% endif %} {% endif %}
</div> <!-- /.section --> </div>
</header> <!-- /#header --> </header>
<div id="main-wrapper"> <div id="main-wrapper">
<div id="main" class="clearfix"> <div id="main" class="clearfix">
<main id="content" class="column" role="main"> <main id="content" class="column" role="main">
@ -44,11 +44,11 @@
<div class="section clearfix"> <div class="section clearfix">
{{ messages }} {{ messages }}
</div> </div>
</div> <!-- /#messages --> </div>
{% endif %} {% endif %}
</section> <!-- /.section --> </section>
</main> <!-- /#content --> </main>
</div> <!-- /.section --> </div>
</div> <!-- /#main-wrapper --> </div>
</div> <!-- /#page --> </div>
</div> <!-- /#page-wrapper --> </div>

View File

@ -105,23 +105,23 @@
{{ site_slogan }} {{ site_slogan }}
</div> </div>
{% endif %} {% endif %}
</div><!-- /#name-and-slogan --> </div>
{% endif %} {% endif %}
{{ page.header }} {{ page.header }}
{{ page.primary_menu }} {{ page.primary_menu }}
</div> <!-- /.section --> </div>
</header> <!-- /.section --> </header>
{% if messages %} {% if messages %}
<div id="messages"> <div id="messages">
<div class="section clearfix">{{ messages }}</div> <div class="section clearfix">{{ messages }}</div>
</div> <!-- /#messages --> </div>
{% endif %} {% endif %}
{% if page.featured %} {% if page.featured %}
<div id="featured"> <div id="featured">
<aside class="section clearfix" role="complementary"> <aside class="section clearfix" role="complementary">
{{ page.featured }} {{ page.featured }}
</aside> <!-- /.section --> </aside>
</div> <!-- /#featured --> </div>
{% endif %} {% endif %}
<div id="main-wrapper" class="clearfix"> <div id="main-wrapper" class="clearfix">
<div id="main" class="clearfix"> <div id="main" class="clearfix">
@ -146,32 +146,32 @@
<ul class="action-links">{{ action_links }}</ul> <ul class="action-links">{{ action_links }}</ul>
{% endif %} {% endif %}
{{ page.content }} {{ page.content }}
</section> <!-- /.section --> </section>
</main> <!-- /#content --> </main>
{% if page.sidebar_first %} {% if page.sidebar_first %}
<div id="sidebar-first" class="column sidebar"> <div id="sidebar-first" class="column sidebar">
<aside class="section" role="complementary"> <aside class="section" role="complementary">
{{ page.sidebar_first }} {{ page.sidebar_first }}
</aside><!-- /.section --> </aside>
</div><!-- /#sidebar-first --> </div>
{% endif %} {% endif %}
{% if page.sidebar_second %} {% if page.sidebar_second %}
<div id="sidebar-second" class="column sidebar"> <div id="sidebar-second" class="column sidebar">
<aside class="section" role="complementary"> <aside class="section" role="complementary">
{{ page.sidebar_second }} {{ page.sidebar_second }}
</aside> <!-- /.section --> </aside>
</div><!-- /#sidebar-second --> </div>
{% endif %} {% endif %}
</div> <!-- /#main --> </div>
</div> <!-- /#main-wrapper --> </div>
{% if page.triptych_first or page.triptych_middle or page.triptych_last %} {% if page.triptych_first or page.triptych_middle or page.triptych_last %}
<div id="triptych-wrapper"> <div id="triptych-wrapper">
<aside id="triptych" class="clearfix" role="complementary"> <aside id="triptych" class="clearfix" role="complementary">
{{ page.triptych_first }} {{ page.triptych_first }}
{{ page.triptych_middle }} {{ page.triptych_middle }}
{{ page.triptych_last }} {{ page.triptych_last }}
</aside> <!-- /#triptych --> </aside>
</div> <!-- /#triptych-wrapper --> </div>
{% endif %} {% endif %}
<div id="footer-wrapper"> <div id="footer-wrapper">
<footer class="section"> <footer class="section">
@ -181,14 +181,14 @@
{{ page.footer_secondcolumn }} {{ page.footer_secondcolumn }}
{{ page.footer_thirdcolumn }} {{ page.footer_thirdcolumn }}
{{ page.footer_fourthcolumn }} {{ page.footer_fourthcolumn }}
</div> <!-- /#footer-columns --> </div>
{% endif %} {% endif %}
{% if page.footer %} {% if page.footer %}
<div id="footer" role="contentinfo" class="clearfix"> <div id="footer" role="contentinfo" class="clearfix">
{{ page.footer }} {{ page.footer }}
</div> <!-- /#footer --> </div>
{% endif %} {% endif %}
</footer> <!-- /.section --> </footer>
</div> <!-- /#footer-wrapper --> </div>
</div> <!-- /#page --> </div>
</div> <!-- /#page-wrapper --> </div>