diff --git a/update_news.js b/update_news.js index 24944f34..9979ab78 100644 --- a/update_news.js +++ b/update_news.js @@ -129,7 +129,7 @@ function parseHtml(html) { if (!fs.existsSync(dir)) { console.log('Creating ' + dir); fs.mkdirSync(dir, { recursive: true }); - fs.writeFileSync(dir + '/../_index.md', `---\ndate: ${yyyyMMdd}\nsort_by: date\ntemplate: news/date_section.html\n---`); + fs.writeFileSync(dir + '/../_index.md', `---\nsort_by: date\ntemplate: news/date_section.html\n---`); } // Each message may have 0 or more photos.