3.2.1.3
Tweaked shade calc Updated About and FAQ sections
This commit is contained in:
@@ -38,6 +38,12 @@ function cleanDist() {
|
||||
path.join(DIST, 'index.html'),
|
||||
path.join(DIST, 'about.html'),
|
||||
path.join(DIST, 'faq.html'),
|
||||
path.join(DIST, 'sunsoak.html'),
|
||||
path.join(DIST, 'profiles.html'),
|
||||
path.join(DIST, 'columns.html'),
|
||||
path.join(DIST, 'temperatures.html'),
|
||||
path.join(DIST, 'features.html'),
|
||||
path.join(DIST, 'stress-bands.html'),
|
||||
path.join(ASSETS, '_tmp_flat.css'),
|
||||
path.join(ASSETS, 'about.min.css'),
|
||||
];
|
||||
@@ -154,7 +160,9 @@ async function build() {
|
||||
// 4. Process HTML files
|
||||
console.log(' Processing HTML...');
|
||||
const version = bumpVersion();
|
||||
for (const htmlFile of ['index.html', 'about.html', 'faq.html']) {
|
||||
for (const htmlFile of ['index.html', 'about.html', 'faq.html',
|
||||
'sunsoak.html', 'profiles.html', 'columns.html',
|
||||
'temperatures.html', 'features.html', 'stress-bands.html']) {
|
||||
const src = path.join(ROOT, htmlFile);
|
||||
if (!fs.existsSync(src)) continue;
|
||||
const updated = rewriteHTML(fs.readFileSync(src, 'utf8'), version);
|
||||
|
||||
Reference in New Issue
Block a user