const fs = require("fs"); const serverPath = require("./serverPath.js") const pages = ["/index.html", "/blog/index.html", "/blog/reviews/index.html", "/project/index.html"]; const { header, footer} = require(serverPath+"/html.js") const { exec } = require('child_process'); for (let x = 0; x < pages.length; x++) { console.log(x) page = serverPath + pages[x] console.log("editing", page) // Header let command = `sed -i 's|