ctchi 0.19.1

Home made web framework.
Documentation
1
2
3
4
5
6
7
use crate::templates::parser::{TemplateNode, WithContent, Context};
use std::collections::HashMap;


pub fn write(root: &TemplateNode, context: &HashMap<String, Context>) -> String {
    String::from_utf8(root.get_content(context)).unwrap()
}