{% extends "base.html" %} {% import "_icons.html" as icon %} {% block title %}{{ document.name }} · pepa{% endblock %} {% block content %} {% set raw_url = url_for('console.app_file', name=app.name, slot=slot, relative=relative) %}

{{ document.title }}

{{ document.name }} · {{ document.size }} · changed {{ document.modified }}

{{ icon.open_new() }}Open on its own (new tab)
{% if related | length > 1 %} {% endif %} {% if document.cut %}

This file is long, so only its first part is shown here. Open it on its own to see all of it.

{% endif %} {% if document.kind == "markdown" %}
{{ document.html | safe }}
{% elif document.kind in ["text", "json", "docx"] %}
{{ document.text }}
{% elif document.kind == "pdf" %} {% elif document.kind == "image" %}
{{ document.name }}
{% elif document.kind == "page" %} {% else %}

No preview for this kind of file

Open it on its own, or open its folder.

{% endif %} {% endblock %}