{% import "components/home.html" as home with context %} {% import "components/problem.html" as problem with context %} {% extends "layout/basic.html" %} {% block content %} {{ set(UiContext, 'udoc', udoc) }}
  • {{ _('Bio') }}

    {% if not udoc.bio %} {{ nothing.render("This person is lazy and didn't wrote anything.") }} {% else %}
    {{ udoc.bio|default('')|markdown|safe }}
    {% endif %}

{{ _('Accepted Problems') }}

{% set _mark = Math.ceil(pdocs.length/4) %} {% set _one = pdocs.slice(0, _mark) %} {% set _two = pdocs.slice(_mark, _mark*2) %} {% set _three = pdocs.slice(_mark*2, _mark*3) %} {% set _four = pdocs.slice(_mark*3, pdocs.length - 1) %}
    {% for pdoc in _one %}
  • {{ problem.render_problem_title(pdoc, show_tags=false, small=true) }}
  • {% endfor %}
    {% for pdoc in _two %}
  • {{ problem.render_problem_title(pdoc, show_tags=false, small=true) }}
  • {% endfor %}
    {% for pdoc in _three %}
  • {{ problem.render_problem_title(pdoc, show_tags=false, small=true) }}
  • {% endfor %}
    {% for pdoc in _four %}
  • {{ problem.render_problem_title(pdoc, show_tags=false, small=true) }}
  • {% endfor %}
{% if isSelfProfile %} {{ home.render_sidebar() }} {% endif %}

{{ _('Problem Tags') }}

{% for tag in tags %}
{{ tag[0] }}
{{ tag[1] }}
{% endfor %}
{% endblock %}