fixes to routing

This commit is contained in:
Arjun Patel
2018-07-07 17:54:05 -07:00
parent 8217bc6111
commit a6213e9085
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -2415,6 +2415,7 @@ body {
display: -webkit-flex; display: -webkit-flex;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
flex-direction: column;
-moz-justify-content: space-between; -moz-justify-content: space-between;
-webkit-justify-content: space-between; -webkit-justify-content: space-between;
-ms-justify-content: space-between; -ms-justify-content: space-between;
+3 -3
View File
@@ -51,15 +51,15 @@
$('.readMore').on("click", function() { $('.readMore').on("click", function() {
var whichBlog = $(this).attr('id'); var whichBlog = $(this).attr('id');
console.log("Loading vlog: " + whichBlog); console.log("Loading vlog: " + whichBlog);
window.location.href = "blogs/" + whichBlog + ".html"; window.location.href = "http://arjunpatel.me/blogs/" + whichBlog + ".html";
}); });
$('#goToMain').on("click", function() { $('#goToMain').on("click", function() {
window.location.href = "index.html"; window.location.href = "http://arjunpatel.me/index.html";
}); });
$('#goToBlogs').on("click", function() { $('#goToBlogs').on("click", function() {
window.location.href = "../blog.html"; window.location.href = "http://arjunpatel.me/blog.html";
}); });
})(jQuery); })(jQuery);