diff --git a/main.cpp b/main.cpp index e56f0fc..f22c8c2 100755 --- a/main.cpp +++ b/main.cpp @@ -24,6 +24,10 @@ int main() { return crow::mustache::load_text("index.html"); }); + CROW_ROUTE(app, "/contact")([](){ + return crow::mustache::load_text("contact.html"); + }); + CROW_ROUTE(app, "/blog")([](){ std::string posts = ""; std::filesystem::path postsDir("posts"); diff --git a/templates/contact.html b/templates/contact.html new file mode 100755 index 0000000..2b4378e --- /dev/null +++ b/templates/contact.html @@ -0,0 +1,63 @@ + + + + + + + + + Document + + + +
+
+                  _ __       __        
+  _______ ___ _  (_) /__ ___/ /__ _  __
+ / __/ _ `/  ' \/ /  '_// _  / -_) |/ /
+/_/  \_,_/_/_/_/_/_/\_(_)_,_/\__/|___/ 
+		
+ +
+ + diff --git a/templates/index.html b/templates/index.html index 9d9512f..6f9219e 100755 --- a/templates/index.html +++ b/templates/index.html @@ -53,9 +53,9 @@