From 660a3d82c1367cdbf19c29eb2831defd0d0f1e49 Mon Sep 17 00:00:00 2001 From: jrtechs Date: Fri, 22 Jun 2018 20:58:40 -0400 Subject: [PATCH] Started to refactor to change css library from w3 to bootstrap --- includes/footer.html | 2 +- includes/header.html | 3 ++- posts/homePage.js | 1 + posts/singlePost.js | 12 ++++++------ sidebar/categoriesSideBar.js | 6 +++--- sidebar/recentPosts.js | 10 +++++----- sidebar/sidebar.js | 2 +- 7 files changed, 19 insertions(+), 17 deletions(-) diff --git a/includes/footer.html b/includes/footer.html index 5fe5c6d..8a78216 100644 --- a/includes/footer.html +++ b/includes/footer.html @@ -1,6 +1,6 @@ - + diff --git a/includes/header.html b/includes/header.html index f6985ed..3a3283a 100644 --- a/includes/header.html +++ b/includes/header.html @@ -69,4 +69,5 @@


-
\ No newline at end of file +
+
\ No newline at end of file diff --git a/posts/homePage.js b/posts/homePage.js index 25a5082..4029562 100644 --- a/posts/homePage.js +++ b/posts/homePage.js @@ -61,6 +61,7 @@ module.exports= { return new Promise(function(resolve, reject) { + renderRecentPosts(result).then(function() { return require("../sidebar/sidebar.js").main(result); diff --git a/posts/singlePost.js b/posts/singlePost.js index 8659176..0fa8dbc 100644 --- a/posts/singlePost.js +++ b/posts/singlePost.js @@ -48,7 +48,7 @@ module.exports= if(!(post.picture_url === "n/a")) { html +="\"\""; + "\" alt=\"\" style=\"width:100%; height:10%\">"; } html += "
"; @@ -78,7 +78,7 @@ module.exports= html+= "

" + htmlPost[i]; } - html = html.split("\n" + "