#ifndef TEMPLATING_HPP #define TEMPLATING_HPP #include #include #include class Templating { public: Templating(const std::string& template_dir) : inja_env{template_dir} {} crow::response render_template(const std::string& template_name, const inja::json& data); crow::response render_template(const std::string& template_name); private: inja::Environment inja_env; }; #endif