This commit is contained in:
Jorijn van der Graaf 2025-11-14 23:56:39 +01:00
commit e3bc669118
7 changed files with 46 additions and 17 deletions

View file

@ -29,7 +29,7 @@ namespace Catcrafts {
std::cout << postSlug << std::endl;
RenderBlogPost(postSlug);
} else {
main->SetInnerHTML("<h1>Post Not Found</h1><p>The requested blog post could not be found.</p>");
main.SetInnerHTML("<h1>Post Not Found</h1><p>The requested blog post could not be found.</p>");
}
} else {
RenderBlog(); //default route