{% extends "_default/base.html" %} {% block content %} {%- set section = get_section(path="newsroom/_index.md") %} {% for page in section.pages %} {% if page.extra.isFeatured %} {%- set_global featured = page %} {% break %} {% endif %} {% if not featured %} {%- set_global featured = section.pages[0] %} {% endif %} {% endfor %} {% include "partials/featuredNews.html" %} {% include "partials/newsPosts.html" %} {% include "partials/newsSidebar.html" %} {% endblock content %}