mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-30 11:40:27 +02:00
updated 3d normals
This commit is contained in:
@@ -175,6 +175,7 @@ function writeContentBundle(locale, content) {
|
||||
// Write the actual locale directory and generate a locale-specific index.html
|
||||
var html = fs.readFileSync('./index.template.html').toString();
|
||||
var preface = content.preface.getContent.replace(/<SectionHeader name="preface" title="([^"]+)"\/>/, "<h2>$1</h2>");
|
||||
html = html.replace("<!doctype html>", "<!-- AUTOGENERATED CONTENT, PLEASE EDIT 'index.template.html' INSTEAD! -->\n<!doctype html>");
|
||||
html = html.replace("{{ PREFACE }}", preface);
|
||||
html = html.replace("{{ locale }}", locale);
|
||||
fs.ensureDirSync(locale);
|
||||
|
Reference in New Issue
Block a user