aboutsummaryrefslogtreecommitdiff
path: root/src/content/blog
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-10-22 17:55:51 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-10-22 17:55:51 +0200
commit09f45879c2b2e63689265924cb700dee5f02f653 (patch)
tree02d2f92947058ea7d86d28f70231ee50a756263e /src/content/blog
parente9d684f5b5cfea813c168a59c0fe087d5456a444 (diff)
Added 404 error page.
* changed Blog constructor fn sig Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/content/blog')
-rw-r--r--src/content/blog/Blog.cpp2
-rw-r--r--src/content/blog/Blog.hpp2
2 files changed, 2 insertions, 2 deletions
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 <filesystem>
-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<BlogEntry>;
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();