Rocket/examples/templating/templates/tera/base.html.tera
Sergio Benitez 1c600bda30 Discover manually registered templates.
This includes one breaking change: the default Content-Type of templates
without an identifying extension is now 'Text'. This is to prevent Tera
templates from rendering as HTML without being escaped.

Resolves #1637.
2021-05-18 11:40:10 -07:00

17 lines
327 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Tera Demo - {{ title }}</title>
</head>
<body>
<a href="/tera/hello/Unknown">Hello</a> | <a href="/tera/about">About</a>
{% block content %}{% endblock content %}
<footer>
<a href="/">Home</a>
</footer>
</body>
</html>