{% extends "base.html" %} {% block content %} {% for name in ["posts", "paper-reviews"] %} {% set section = get_section(path=name ~ "/_index.md") %} {%- if section.pages | length > 0 %}