diff --git a/update_news.js b/update_news.js index ec4ee06c..0367ca4b 100644 --- a/update_news.js +++ b/update_news.js @@ -66,7 +66,7 @@ function toMarkdown(node, date) { let slug = slugify(title); if (!slug) slug = time.replace(':', '-'); - const frontmatter = `---\ntitle: '${title.replaceAll("'", "''")}'\ndate: ${date}\nslug: "${slug}"\n---`; + const frontmatter = `---\ntitle: '${title.replaceAll("'", "''")}'\ndate: ${date}\nslug: "${slug}"\n---\n\n`; // Photo-only posts do not have text, but should have an index.md file. if (!node) return frontmatter;