mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-06 09:42:41 +00:00
1c600bda30
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.
17 lines
327 B
Plaintext
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>
|