${blogs[length][2]}
${blogs[length][0]}
${blogs[length][1]}
${blogs[length][3] ? `${blogs[length][4]}
${commentsHTML}
const blogs = require("/var/www/html/blog/blogs.js");
const filePath = "/var/www/html/blog/blogs/";
const fs = require("fs");
const { pageTop, pageBottom } = require("/var/www/html/html.js")
const comments = require("/var/www/html/blog/comments.js")
console.log(blogs);
////////////////////////////////
// Make each individual blog page
/////////////////////////////////
for (let length = 0; length < blogs.length; length++) {
console.log(length)
const blogFilePath = filePath + length + ".html";
let commentsHTML = ""
for (let commentsCounter = comments[length].length - 1; commentsCounter >= 0; commentsCounter--) {
commentsHTML += comments[length][commentsCounter] + "
"
}
let content = `${pageTop}
${blogs[length][1]}
${blogs[length][3] ? `${blogs[lastitem][1]}
${blogs[lastitem][3] ? `${content}
${blogs[length][3] ? `