{% if psdocs %}
  • {{ _('Recent solutions') }}

    {% if not psdocs.length %} {{ nothing.render("This person is lazy and wrote any solution") }} {% else %}
    {% set _mark = Math.ceil(psdocs.length/4) %} {% macro col(psdocs) %}
    {% endmacro %}
    {{ col(psdocs.slice(0, _mark)) }} {{ col(psdocs.slice(_mark, _mark*2)) }} {{ col(psdocs.slice(_mark*2, _mark*3)) }} {{ col(psdocs.slice(_mark*3)) }}
    {% endif %}
  • {% endif %}