{% extends "base.html" %} {% block title %}{{ info.file.name }} - transbeam{% endblock %} {% block og_title %}{{ info.file.name }}{% endblock %} {% block og_description -%} {% let formatted_total_size = info.file.formatted_size() -%} {% match info.file.contents -%} {% when Some with (files) -%} {{ files.files.len() }} files, {{ formatted_total_size }} total {%- else -%} {{ formatted_total_size }} {%- endmatch %}, expires {{ info.file.expiry.format(DATE_DISPLAY_FORMAT).unwrap() }} {%- endblock %} {% block relative_path %}download?code={{ info.code }}{% endblock %} {% block head %} {% endblock %} {% block body %}