{% extends "base.html" %} {% block title %}{{ item.title }} - Makenotwork{% endblock %} {% block head %} {% match item.content %} {% when crate::types::ItemContent::Video with { cover_url, .. } %} {% if let Some(img) = cover_url %} {% else %} {% endif %} {% when _ %} {% endmatch %} {% endblock %} {% block content %} {% include "partials/site_header.html" %}
{{ creator_avatar_initials }}
{{ item.release_date }}{% match item.content %}{% when crate::types::ItemContent::Video with { duration, .. } %}{% if let Some(dur) = duration %} | {{ dur }}{% endif %}{% when _ %}{% endmatch %}

{{ item.title }}

{% if let Some(project_title) = project_title %}

{{ project_title }}

{% endif %}
{% match item.content %} {% when crate::types::ItemContent::Video with { cover_url, .. } %} {% if let Some(url) = cover_url %} {{ item.title }} cover {% else %}
[Video cover]
{% endif %} {% when _ %} {% endmatch %}
{% if !item.description.is_empty() %}

{{ item.description }}

{% endif %}
{% if has_access %}

You have access to this item.

Watch in library → {% else if item.is_free %} {% if let Some(_user) = session_user %} {% if in_library %} In your library · Watch now → {% else %} {% endif %} {% else %} Log in to watch - Free {% endif %} {% else %}

{{ item.price }}

{% if let Some(_user) = session_user %} {% if item.pwyw_enabled %}Pay What You Want{% else %}Buy Once{% endif %} - {{ item.price }} {% else %} Log in to purchase {% endif %}

Support {{ creator_username }} directly — 0% platform fee.

{% endif %}
{% if !item.tags.is_empty() %}
{% for tag in item.tags %} {{ tag.name }} {% endfor %}
{% endif %}
{% include "partials/discussion_section.html" %} {% endblock %} {% block scripts %}{% endblock %}