25 lines
780 B
HTML
25 lines
780 B
HTML
{% extends "layout.html" %}
|
|
|
|
{% block content %}
|
|
<h1>{{ repo_name }}: {{ tree_name }}: {{ blob.name }}</h1>
|
|
|
|
{% if blob.lines %}
|
|
<div class="blob-contents">
|
|
<div class="left">
|
|
{% for _ in blob.lines %}
|
|
<a name="L{{ loop.index }}" />
|
|
<a href="#L{{ loop.index }}" title="permalink to line {{ loop.index }}">{{ loop.index }}</a>
|
|
<br />
|
|
{% endfor %}
|
|
</div>
|
|
<div class="right">
|
|
{% for line in blob.lines %}
|
|
<pre>{{ line }}</pre>
|
|
<br />
|
|
{% endfor %}
|
|
</div>
|
|
</pre>
|
|
{% else %}
|
|
This blob contains binary data.
|
|
{% endif %}
|
|
{% endblock %}
|