diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index ea0f333..feabb19 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,5 @@ +#include "ContentManager.hpp" +#include "content/blog/Blog.hpp" #include "EventManager.hpp" #include "Filesystem.hpp" @@ -84,6 +86,11 @@ int main(int argc, char **argv) { } fs.Scan(); + Blog blog; + + ContentManager ctmgr; + ctmgr.Register(blog); + EventManager evmgr; evmgr.setDefaultCallback(example_inja_render, {}); evmgr.Init(host, port); |