diff --git a/examples/templating/templates/tera/base.html.tera b/examples/templating/templates/tera/base.html.tera index df807cf0..ac06dbbf 100644 --- a/examples/templating/templates/tera/base.html.tera +++ b/examples/templating/templates/tera/base.html.tera @@ -5,7 +5,7 @@ Tera Demo - {{ title }} - Hello | About + {% include "tera/nav" %} {% block content %}{% endblock content %} diff --git a/examples/templating/templates/tera/nav.html.tera b/examples/templating/templates/tera/nav.html.tera new file mode 100644 index 00000000..edcc88e4 --- /dev/null +++ b/examples/templating/templates/tera/nav.html.tera @@ -0,0 +1 @@ +Hello | About