split dev files and amalgamate into a single header

This commit is contained in:
pantor
2018-12-14 18:03:45 +01:00
parent e44c2372e1
commit 595076ebec
20 changed files with 1707 additions and 29 deletions

16
include/utils.hpp Normal file
View File

@@ -0,0 +1,16 @@
#ifndef PANTOR_INJA_UTILS_HPP
#define PANTOR_INJA_UTILS_HPP
#include <string>
namespace inja {
/*!
@brief render with default settings
*/
inline std::string render(const std::string& input, const json& data) {
return Environment().render(input, data);
}
}
#endif // PANTOR_INJA_UTILS_HPP