use HashMap;
use ;
use ;
// Extend router
;
async
Use built-in function
<!--
/pages/common/abc.html
<h3>{{context.title}}</h3>
<div>{{parent.info}}</div> we can access the variable in the parent scope by using __Parent.info(if any), and so forth, __Parent...__Parent.info
-->
<!-- the common directory is in the root path `pages`, the following content is in the index.html -->
{{ include_file(path="common/abc.html"), context=`{"title":"abc"}` | safe }}
Then we can access the website on the browser: http://localhost:8080/ or http://localhost:8080/index.html. Access the static resource on browser: http://localhost:8080/assets/filename
More details about how to use the template engine can be seen on the home page of Tera.