title: How can I remove sidebar's HTML in index pages but not in Blogger Layout page?
body: <p>I have a blogger blog in which I have removed the sidebar in index pages adding <code>&lt;b:if cond='data:blog.pageType != &amp;quot;index&amp;quot;'&gt;</code>:</p>
  
  <pre><code>&lt;div class='column-right-inner'&gt;
    &lt;aside&gt;
    &lt;b:if cond='data:blog.pageType != &amp;quot;index&amp;quot;'&gt;
      &lt;macro:include id='main-column-right-sections' name='sections'&gt;
        &lt;macro:param default='2' name='num' value='1'/&gt;
        &lt;macro:param default='sidebar-right' name='idPrefix'/&gt;
        &lt;macro:param default='sidebar' name='class'/&gt;
        &lt;macro:param default='true' name='includeBottom'/&gt;
      &lt;/macro:include&gt;
    &lt;/b:if&gt;
    &lt;/aside&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And it works. But the problem is that if I go to Layout to configure the widgets, there's no sidebar, so I can't, for example, change the order of the widgets in sidebar.</p>
  
  <p>I know I could, instead of removing sidebar's HTML, hide it with CSS. But that would make the blog slower when there's no need to do that.</p>