Drupal 8 regions with and empty blocks

Submitted by shiv on Wed, 06/29/2016 - 11:53

Through theme's template D8 print empty block(empty div) code Like <div class="col-md-12">  </div> withouth printing any content into region. if loop {% if page.sidebar_first %} does not help to avoide printing empty region code. It known issue of D8 mention here https://www.drupal.org/node/2702087 and https://www.drupal.org/node/953034

Sample blackbox block

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas non porta odio, id mattis erat.

Nam sed tincidunt eros. Donec a venenatis odio, vitae commodo sem. Vivamus ullamcorper pellentesque erat, in adipiscing tortor scelerisque sit amet. Nulla pulvinar urna magna. Vivamus a ipsum lorem. Etiam adipiscing pulvinar lorem.