diff --git a/.eleventy.js b/.eleventy.js index 79546eb223..09eda944d2 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -62,7 +62,8 @@ export default function (eleventyConfig) { eleventyConfig.addGlobalData("freshFeatures", async () => { return all.filter(feature => { return feature.status.support.chrome > 120 || feature.status.support.firefox > 120 || feature.status.support.safari > 17; - }) + }).sort((a, b) => new Date(b.status.baseline_low_date) - + new Date(a.status.baseline_low_date)).sort((a, b) => Object.keys(b.status.support).length - Object.keys(a.status.support).length); }); return { diff --git a/site/fresh.njk b/site/fresh.njk index 104fd1321f..81a359ada0 100644 --- a/site/fresh.njk +++ b/site/fresh.njk @@ -5,6 +5,7 @@ layout: layout.njk

{{ title }}

Fresh means implemented recently in either Chrome 120+ or Firefox 120+ or Safari 17+.

+

Bug: Doesn't yet list any pre-release features because of web-features issue #955.

{{freshFeatures.length }} features found.