Initial site generation
This commit is contained in:
parent
f44c79dc1f
commit
fc44290e3f
35 changed files with 667 additions and 303 deletions
|
@ -8,8 +8,7 @@
|
|||
TEST_CASE(TestTemplatingEngine, "compiler")
|
||||
{
|
||||
auto engine = TemplatingEngine(TestUtils::getTestDataDir());
|
||||
engine.loadTemplateFiles();
|
||||
const auto content = engine.processTemplate("index");
|
||||
const auto content = engine.renderTemplate("index", nullptr);
|
||||
|
||||
File outfile(TestUtils::getTestOutputDir() / "index.html");
|
||||
outfile.writeText(content);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue