diff --git a/pageUpdater.js b/pageUpdater.js index 498cfe5..815a83c 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -308,14 +308,16 @@ function converter(html, dynamic = true) { var addedHTML = "" for (var i in api.blogPosts) { var post = api.blogPosts[i] - addedHTML += - `
- -

${post.title}

-

${post.desc}

-

Path: /${post.folder}/

-
-
` + if (!post.hidden) { + addedHTML += + `
+ +

${post.title}

+

${post.desc}

+

Path: /${post.folder}/

+
+
` + } } if (!api.blogConnected) { addedHTML += "

Not connected to blog server :(

"