{% extends theme('layouts/1-column.html') %} {% from theme('macros/follow.html') import follow_btn with context %} {% from theme('macros/organization_name_with_certificate.html') import organization_name_with_certificate %} {% set bundle = 'user' %} {% set meta = { 'title': user.fullname, 'description': _("%(site)s %(username)s profile", site=config['SITE_TITLE'], username=user.fullname), 'keywords': [_('user'), _('profile')], 'robots': 'noindex', } %} {% block breadcrumb %}
  • {{ _('Users') }}
  • {{ user.fullname }}
  • {% endblock %} {% block toolbar %} {% if current_user != user %} {{ follow_btn(user) }} {% endif %} {% if can_edit %} {% if current_user != user %} {{ _("User's admin profile") }}
    {% else %} {{ _('Edit') }} {% endif %} {% endif %} {% endblock %} {% block main_content %}

    {{ user.fullname }}

    {{ user.about|markdown(wrap=False) }}
    {% if user.website %}

    {% set truncate_length = 18 %} {% set website = user.website.lstrip("https://").lstrip("http://").lstrip("www.") %} {{ website|truncate(truncate_length, True) }}

    {% endif %} {% if can_edit %} {% endif %} {% if organizations %}

    {{ _('Organizations') }}

    {% for org in organizations %} {% endfor %}
    {% endif %}

    {% block user_content %}
    {% endblock %}
    {% endblock %}