changed team preview order
This commit is contained in:
parent
cfdea4d270
commit
e20387fab7
@ -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")]
|
||||||
|
@ -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'
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user