````rust use std::collections::HashMap;
use simplessrrs::{SSRender,ssrwork,Value};
fn main() {
let mut ssr = SSRender::new("0.0.0.0:8080");
ssr.setpubdirname("assets"); // specify the name of the public assets directory in the current root directory
ssr.settmpldirname("pages"); // specify the name of the template directory in the current root directory
// ssr.setmetainfocollector(|req:&Request|->HashMap {r}
")))
});
ssr.setmetainfocollector(|req:&Request|->HashMap
````
```html
<!--
/pages/common/abc.html
<h3>{{context.title}}</h3>
<div>{{parent.info}}</div> we can access the variable in the parent(if any), and so forth, parent...parent.info
-->
<!-- the common directory is in root path
pages` -->
````
More details about how to use the template engine can be seen on the home page of Tera.