From 4497e880248c24dc19eea8a5466555b847c0c7eb Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Wed, 24 Nov 2021 08:17:44 -0800 Subject: [PATCH] docs: Update release notes blog post template (#15285) --- templates/blogpost.md.ejs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/blogpost.md.ejs b/templates/blogpost.md.ejs index 71e1973b2e7..37be7ec5eb1 100644 --- a/templates/blogpost.md.ejs +++ b/templates/blogpost.md.ejs @@ -1,13 +1,14 @@ --- layout: post title: ESLint v<%- version %> released +teaser: "We just pushed ESLint v<%- version %>, which is a <%- type %> release upgrade of ESLint. This release <% if (type !== "patch") { %>adds some new features and <% } %>fixes several bugs found in the previous release.<% if (type === "major") { %> This release also has some breaking changes, so please read the following closely.<% } %>" +categories: + - Release Notes tags: - release - <%- type %> --- -We just pushed ESLint v<%- version %>, which is a <%- type %> release upgrade of ESLint. This release <% if (type !== "patch") { %>adds some new features and <% } %>fixes several bugs found in the previous release.<% if (type === "major") { %> This release also has some breaking changes, so please read the following closely.<% } %> - <% const RULE_REGEX = new RegExp(`\`?\\b(${ruleList.join("|")})\\b\`?`, "g");