From 09f45879c2b2e63689265924cb700dee5f02f653 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Fri, 22 Oct 2021 17:55:51 +0200 Subject: Added 404 error page. * changed Blog constructor fn sig Signed-off-by: Toni Uhlig --- src/content/blog/Blog.cpp | 2 +- src/content/blog/Blog.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/content/blog') diff --git a/src/content/blog/Blog.cpp b/src/content/blog/Blog.cpp index 47a3292..a472b97 100644 --- a/src/content/blog/Blog.cpp +++ b/src/content/blog/Blog.cpp @@ -2,7 +2,7 @@ #include -Blog::Blog(std::string uriBasePath, std::string mainTemplatePath, std::string blogPath) +Blog::Blog(std::string uriBasePath, std::string blogPath, std::string mainTemplatePath) : Content(), m_UriBasePath(uriBasePath), m_MainTemplatePath(mainTemplatePath), diff --git a/src/content/blog/Blog.hpp b/src/content/blog/Blog.hpp index d58cd72..06f279c 100644 --- a/src/content/blog/Blog.hpp +++ b/src/content/blog/Blog.hpp @@ -32,7 +32,7 @@ using BlogEntries = std::vector; class Blog : public Content { public: - explicit Blog(std::string uriBasePath, std::string mainTemplatePath, std::string blogPath); + explicit Blog(std::string uriBasePath, std::string blogPath, std::string mainTemplatePath); bool Init(); void Shutdown(); -- cgit v1.2.3