{% extends "base.html" %}
{% import "macros/star.html" as star_macros %}
{% import "macros/planet.html" as planet_macros %}
{% block content %}
{% for star in page.stars %}
{% for planet in star.content.planets %}
{{ planet_macros.planet(planet, False)}}
{% endfor %}
{{ star_macros.star(star.content) }}
{% endfor %}
{% endblock %}