{% extends "base.html.jinja" %} {% from "components/timestamp.html.jinja" import timeago as ts %} {% block content %}
{# Avatar placeholder #}
{{ profile.username[:1] | upper }}

{{ profile.username }}

{% if profile.created_at %}

Member since {{ ts(profile.created_at) }}

{% endif %}

{{ heatmap.total }} contribution{{ 's' if heatmap.total != 1 else '' }} in the last year

{% if heatmap.weeks | length > 0 %}
{# Month labels #}
{% set ns = namespace(last_col=-2) %} {% for m in heatmap.month_labels %} {% set gap = m.col - ns.last_col %} {{ m.label }} {% set ns.last_col = m.col %} {% endfor %}
{# Day-of-week labels #}
Mon Wed Fri
{# Grid of weeks #} {% for week in heatmap.weeks %}
{% for day in week %} {% if day.in_range %} {% if day.count > 0 %}
{% else %}
{% endif %} {% else %}
{% endif %} {% endfor %}
{% endfor %}
{# Legend #}
Less
More
{% else %}

No public activity yet.

{% endif %}
{# Recent releases #}

Recent releases

{% if recent_releases | length > 0 %} {% else %}

No releases yet.

{% endif %}
{# Contributed projects #}

Projects

{% if contributed_projects | length > 0 %} {% else %}

No project contributions yet.

{% endif %}
{% endblock %}