{% if _cfg("public-income") == "yes" %}
{% set total_sum = recurring_sum + patreon_sum + lp_sum %} {% set total_count = recurring_count + patreon_count + lp_count %} {% if _cfg("goal") %} {% set goal = int(_cfg("goal")) %} {% if goal < total_sum %} {# Make the graph still make sense if we exceeded the goal #} {% set adjusted_goal = total_sum %} {% else %} {% set adjusted_goal = goal %} {% endif %} {% set recurring_progress = recurring_sum / adjusted_goal %} {% set patreon_progress = patreon_sum / adjusted_goal %} {% set lp_progress = lp_sum / adjusted_goal %} {% set progress = total_sum / goal %}
${{ "{:.0f}".format(recurring_sum / 100) }}
${{ "{:.0f}".format(patreon_sum / 100) }}
${{ "{:.0f}".format(lp_sum / 100) }}
{% endif %}
{% if patreon_count or lp_count %}

${{ "{:.2f}".format(recurring_sum / 100) }}/mo via {{ domain }} ({{ recurring_count }} supporter{{ "s" if recurring_count != 1 else "" }})

{% if patreon_count %}

${{ "{:.2f}".format(patreon_sum / 100) }}/mo via Patreon ({{ patreon_count }} supporter{{ "s" if patreon_count != 1 else "" }})

{% endif %} {% if lp_count %}

${{ "{:.2f}".format(lp_sum / 100) }}/mo via Liberapay ({{ lp_count }} supporter{{ "s" if lp_count != 1 else "" }})

{% endif %} {% endif %} {% if goal %}

${{ "{:.2f}".format(total_sum / 100)}}/mo of ${{ "{:.2f}".format(goal / 100) }}/mo goal

{% else %}

Supported with ${{ "{:.2f}".format(total_sum / 100) }} from {{ total_count }} supporters!

{% endif %}
{% include "goal-summary.html" %}
{% endif %}