{% extends "base.html" %} {% block title %}{{ project.title }} - {{ creator_username }}{% endblock %} {% block body_attrs %} class="{{ crate::shell::measure(crate::shell::Measure::Wide) }} project-paywall-page"{% endblock %} {% block social_card %} {% if let Some(img) = project.cover_image_url %} {% else %} {% endif %} {% endblock %} {% block head %} {% endblock %} {% block content %} {% include "partials/site_header.html" %}
{% if let Some(cover) = project.cover_image_url %}
{{ project.title }}
{% endif %}

{{ project.title }}.

by {{ creator_username }}

{% if !project.description.is_empty() %}

{{ project.description }}

{% endif %} {% if project.item_count > 0 %}

{{ project.item_count }} item{% if project.item_count != 1 %}s{% endif %} included

{% endif %}
{{ price_display }}
{% match checkout_type %} {% when crate::pricing::CheckoutType::OneTime %} {% if session_user.is_some() %}
{% else %} Log in to Purchase {% endif %} {% when crate::pricing::CheckoutType::PayWhatYouWant %} {% if session_user.is_some() %}
USD
{% else %} Log in to Purchase {% endif %} {% when crate::pricing::CheckoutType::Subscription %} {% if !subscription_tiers.is_empty() %}
{% for tier in subscription_tiers %}

{{ tier.name }}

{{ tier.price }}/mo
{% if !tier.description.is_empty() %}

{{ tier.description }}

{% endif %} {% if session_user.is_some() %}
{% else %} Log in to Subscribe {% endif %}
{% endfor %}
{% endif %} {% when crate::pricing::CheckoutType::None %} {% endmatch %}
{% endblock %}