Echo Writes Code

view_page.tera.html

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

{% block title %}{{ page.title }}{% endblock %}

{% block content %}
<h1>{{ page.title }}</h1>
{{ page.content | safe }}
<nav id="sticky">
  <ul>
    <li><a href="/page/new">➕ New Page</a></li>
    <li><a href="/page/edit/{{ page.slug }}">✏ Edit Page</a></li>
  </ul>
</nav>
{% endblock %}