Echo Writes Code

blob.tera.html

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "_page.tera.html" %}

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

{% block content %}
<article>
	<nav class="breadcrumbs" aria-label="Breadcrumb">
		<ol>
			<li><a href="/">Repositories</a></li>
			<li><a href="/repository/{{ blob.repository_name }}">{{ blob.repository_name }}</a></li>
			{% for bc in blob.breadcrumbs %}
			<li><a href="{{ bc.link }}">{{ bc.name }}</a></li>
			{% endfor %}
			<li><a href="" aria-current="page">{{ blob.name }}</a></li>
		</ol>
	</nav>
	<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 %}