Echo Writes Code

blob_path.tera.html

1
2
3
4
5
6
7
8
9
10
11
12
13
{% extends "page.tera.html" %}

{% block title %}{{ blob.path }}{% endblock %}

{% block content %}
<article>
	<h1><a href="/repository/{{ blob.repository_name }}">{{ blob.repository_name }}</a> {% for c in blob.path_components %} / <a href="{{ c.link }}">{{ c.name }}</a>{% endfor %} / {{ blob.name }}</h1>
	<div class="blob">
		<div class="blob_gutter">{% for line in blob.lines %}<div class="blob_gutter_line">{{ line }}</div>{% endfor %}</div>
		<pre class="blob_text" role="code">{{ blob.text }}</pre>
	</div>
</article>
{% endblock %}