changed team preview order

This commit is contained in:
Yves Gatesoupe 2020-07-16 22:32:48 +02:00
parent cfdea4d270
commit e20387fab7
2 changed files with 4 additions and 2 deletions

View File

@ -69,7 +69,9 @@ module.exports = function(config) {
}); });
config.addCollection('profiles', collection => { config.addCollection('profiles', collection => {
return [...collection.getFilteredByGlob("./src/members/*.md")] return [...collection.getFilteredByGlob("./src/members/*.md")]
.slice(0, site.maxProfilePreview); .reverse()
.slice(0, site.maxProfilePreview)
;
}); });
config.addCollection('customers', collection => { config.addCollection('customers', collection => {
return [...collection.getFilteredByGlob("./src/customers/*.md")] return [...collection.getFilteredByGlob("./src/customers/*.md")]

View File

@ -1,7 +1,7 @@
--- ---
name: 'François Bonningues' name: 'François Bonningues'
position: 'Développeur systèmes embarqués' position: 'Développeur systèmes embarqués'
date: '2020-06-01' date: '2020-05-01'
profile: '/images/profiles/default-profile.png' profile: '/images/profiles/default-profile.png'
url: '/members/francois-bonningues' url: '/members/francois-bonningues'
--- ---