{% extends 'base.html' %} {% block main %}

{% if config['RANDOM'].value %}Random selection of{% else %}Latest added{% endif %} sets {% if not config['HIDE_ALL_SETS'].value %} All sets {% endif %}

{% if brickset_collection | length %}
{% for item in brickset_collection %}
{% with solo=false, tiny=true, last=true %} {% include 'set/card.html' %} {% endwith %}
{% endfor %}
{% else %} {% include 'set/empty.html' %} {% endif %} {% if minifigure_collection | length %}

{% if config['RANDOM'].value %}Random selection of{% else %}Latest added{% endif %} minifigures {% if not config['HIDE_ALL_MINIFIGURES'].value %} All minifigures {% endif %}

{% for item in minifigure_collection %}
{% with solo=false, tiny=true, last=true %} {% include 'minifigure/card.html' %} {% endwith %}
{% endfor %}
{% endif %}
{% endblock %}