Echo Writes Code

blob.tera.html

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

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

{% block content %}
<article>
	<h1>{{ 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 %}