rikitiki  v0.1.67
Build C++ web server modules that allow easy routing and deployment.
Stencet

rikitiki includes support for the stencet templating engine.

By default, template files are found in the working directory of whichever executable is running. You can change this behavior by having a 'stencet_root' setting in your configuration file.

Use is simple:

void operator()(ConnContext& ctx, const std::string& msg){
stencet::Variant vm;
vm["message"] = msg;
ctx << stencet::Template::ByName("example").With(vm); // Loads from file!
}

See stencet documentation for more examples and help using stencet.

See Also
examples/stencetEx.h