aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-11-15 12:52:15 +0100
committerToni Uhlig <matzeton@googlemail.com>2021-11-15 12:52:15 +0100
commit91dc9732ce54ba7298667be85c57e7d94d2f83b1 (patch)
tree85f8a1e42bef89be85769df5f92fc074095dc3fa /src
parentc6846d9c3a35145467c3276f35742e562d584b36 (diff)
Added template inheritance example.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8256717..e5171ab 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -61,6 +61,7 @@ int main(int argc, char ** argv)
cmgr->RegisterModule(std::make_shared<Markdown>("/", wwwroot + "/pages", "index.html"));
cmgr->RegisterModule(std::make_shared<Blog>("/blog", wwwroot + "/blog", "blog/index.html"));
+ cmgr->RegisterModule(std::make_shared<Blog>("/inherit", wwwroot + "/blog", "inherit/index.html"));
if (cmgr->InitAll() == false)
{