Así como esta arroja error: Parse error: syntax error, unexpected T_ENDFOREACH
Gracias por su atención.
Código PHP:
  
div class="post">
            <h2><?php e($post->title) ?></h2>
 
            <?php echo auto_typography($post->body) ?>
        </div>
        <?php endforeach; ?>
 
    <?php else : ?>
        <div class="alert alert-info">
            No Posts were found.
        </div>
    <?php endif; ?>     
 

 
 


