fix titles for some pages

pull/189/head
Harvey Tindall 3 years ago
parent 6448a7db9e
commit 8758d74e32
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -62,6 +62,8 @@ function fixHTML(infile, outfile) {
let s = templateStrings[i].replace(/\\/g, ''); let s = templateStrings[i].replace(/\\/g, '');
out = out.replaceAll("<!--" + s.slice(3).slice(0, -3) + "-->", s); out = out.replaceAll("<!--" + s.slice(3).slice(0, -3) + "-->", s);
} }
out = out.replaceAll("&lt;!--", "{{");
out = out.replaceAll("--&gt;", "}}");
fs.writeFileSync(outfile, out); fs.writeFileSync(outfile, out);
console.log(infile, outfile); console.log(infile, outfile);
}; };

Loading…
Cancel
Save