When the entry is disabled, the Live Preview only shows things which are outer of the main loop. This is a part of my code:
{% include "header.html" %}
{% for entry in craft.entries.section('flashback') %}
<section id="intro" style="background-image: url('{{ entry.heroImage.first().getUrl() }}');">
<h1>Flashback</h1>
</section>
...
{% endfor %}
{% include 'footer.html' %}
The header
and the footer
are visible but the section
and headline
not.