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 {{ blob.path }}{% endblock %}

{% block content %}
<article>
	<h1>Blob {{ blob.path }}</h1>
	<div class="blob">
		<pre class="blob_gutter">{% for line in blob.lines %}<div class="blob_gutter_line">{{ line }}</div>{% endfor %}</pre>
		<pre class="blob_text"><code>{{ blob.text }}</code></pre>
	</div>
</article>
{% endblock %}