{% extends "base.html" %} {% import "repo_tabs.html" as m %} {% block title %}{{ f.path }} at {{ f.target.short_label() }} · {{ repo.owner }}/{{ repo.name }}{% endblock %} {% block bodyattrs %} data-repo="{{ repo.url }}" data-ref="{{ f.target.label }}"{% if let Some(p) = permalink %} data-permalink="{{ repo.url }}/file/{{ p }}/{{ f.path }}{% if blame.is_some() %}?blame=1{% endif %}"{% endif %}{% endblock %} {% block tabs %}{% call m::tabs(repo, "code") %}{% endblock %} {% block mainclass %} class="wide"{% endblock %} {% block content %}
This file is larger than the render limit. Download it.
{% when crate::repos::view::FileBody::Binary %}Binary file, {{ f.size|bytes }}. Download it.
{% when crate::repos::view::FileBody::Text(_) %} {% if let Some(html) = markdown_html %}| {{ r.short }} {{ r.author }} {% if let Some(b) = r.before %} ↶{% endif %} | {% endif %} {% endif %}{{ n }} | {{ line|safe }} |