````rust
use std::collections::HashMap;
use simple_ssr_rs::{SSRender,ssr_work,Value};
fn main() {
let mut ssr = SSRender::new("0.0.0.0:8080");
ssr.set_pub_dir_name("assets"); // specify the name of the public assets directory in the current root directory
ssr.set_tmpl_dir_name("pages"); // specify the name of the template directory in the current root directory
Ok(Value::String(format!("<p>{r}</p><br/>")))
});
ssr_work!(ssr);
}
````
More details about how to use the template engine can be seen on the home page of [Tera](https://tera.netlify.app/docs/).