mirror of https://github.com/rwf2/Rocket.git
Use an 'include' in tera templating example.
This commit is contained in:
parent
dc5c57b624
commit
469f3942eb
|
@ -5,7 +5,7 @@
|
|||
<title>Tera Demo - {{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href="/tera/hello/Unknown">Hello</a> | <a href="/tera/about">About</a>
|
||||
{% include "tera/nav" %}
|
||||
|
||||
{% block content %}{% endblock content %}
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<a href="/tera/hello/Unknown">Hello</a> | <a href="/tera/about">About</a>
|
Loading…
Reference in New Issue