{% extends 'blog/partials/base.html' %} {% block content %} {% load static %} Socialify {% if parent is not None %}

Folder .. {% endif %}

{% if files and "byteSize" not in files %} {% for file in files %} {% endfor %}
Name Last Commit Updated
{% if file.type == 'tree' %} Folder {% else %} File {% endif %} {% comment %} {{ file.name }} {{ file.commit.message|truncatechars:50 }} {{ file.commit.committedDate }}
{% endif %} {% if "byteSize" in files and not files.isBinary %}

Viewing {% comment %} {{ files.name }}
{{ files.lines }} lines ({{ files.loc }} loc) • {{ files.size }}

{{files.text|safe}}
{% endif %} {% if "byteSize" in files and files.isBinary %}

Viewing {% comment %} {{ files.name }}
{{ files.size }}

{% if files.isImage == True %} {{files.name}} {% else %}

Binary file, cannot display

Download here

{% endif %} {% endif %} {% endblock content %}