<ul>
    {% for post in posts if post.published == true %}
        <li>{{ post.title }}</li>
    {% else %}
        <li>No hay artículos publicados.</li>
    {% endfor %}
</ul>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.