We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to re-use html templates like the header. Is it possible to do with Crow?
Here they talk about those sections https://jgonggrijp.gitlab.io/wontache/mustache.5.html
I tried this but it renders the string, and doesn't go into html
auto header = crow::mustache::load_text("header.html"); ctx["header"] = header; auto page = crow::mustache::load("index.html"); return crow::response(200, page.render(ctx));
The text was updated successfully, but these errors were encountered:
My site is old, but maybe it will be helpful -> https://github.com/mrozigor/mrozigor.net/blob/master/src/controllers/MainController.cpp
Sorry, something went wrong.
No branches or pull requests
I would like to re-use html templates like the header. Is it possible to do with Crow?
Here they talk about those sections https://jgonggrijp.gitlab.io/wontache/mustache.5.html
I tried this but it renders the string, and doesn't go into html
The text was updated successfully, but these errors were encountered: