From e20387fab75666c86e27d64a678b57f584a78f9a Mon Sep 17 00:00:00 2001 From: Yves Gatesoupe Date: Thu, 16 Jul 2020 22:32:48 +0200 Subject: [PATCH] changed team preview order --- .eleventy.js | 4 +++- src/members/francois-bonningues.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 33b661b..f1a77b9 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -69,7 +69,9 @@ module.exports = function(config) { }); config.addCollection('profiles', collection => { return [...collection.getFilteredByGlob("./src/members/*.md")] - .slice(0, site.maxProfilePreview); + .reverse() + .slice(0, site.maxProfilePreview) + ; }); config.addCollection('customers', collection => { return [...collection.getFilteredByGlob("./src/customers/*.md")] diff --git a/src/members/francois-bonningues.md b/src/members/francois-bonningues.md index 29ca984..be39a0d 100644 --- a/src/members/francois-bonningues.md +++ b/src/members/francois-bonningues.md @@ -1,7 +1,7 @@ --- name: 'François Bonningues' position: 'Développeur systèmes embarqués' -date: '2020-06-01' +date: '2020-05-01' profile: '/images/profiles/default-profile.png' url: '/members/francois-bonningues' ---