{% extends 'base.html.twig' %} {% block title %} {{ blob.name }} ({{ blob.shortHash }}) - {{ repository.name }} {% endblock %} {% block header %} {% include 'page-header.html.twig' with { repository: repository, baseRef: blob.hash, current: 'code' } %} {% endblock %} {% block search %} {% include 'search.html.twig' with { repository: repository, commitish: blob.hash } %} {% endblock %} {% block body %} {% include 'Blob/breadcrumb.html.twig' with { repository: repository, blob: blob } %}
{{ commit.author.name }}
{{ commit.subject }}
{{ commit.author.name }} commited {{ commit.shortHash }} at {{ commit.commitedAt|date(commit_date_format) }}
{{ file.name }}
{% if file.isImage %}
{% elseif file.isAudio %}
{% elseif file.isVideo %}
{% else %} {% include 'Blob/viewer/' ~ default_blob_viewer ~ '.html.twig' with { repository: repository, commitish: blob.hash } %} {% endif %}
{% endblock %}