Merge branch 'dev'

This commit is contained in:
Florent Le Saout 2020-11-13 19:18:03 +01:00
commit 54e887e70f
3 changed files with 3 additions and 2 deletions

View File

@ -77,7 +77,7 @@ module.exports = function(config) {
config.addCollection('customers', collection => {
return [...collection.getFilteredByGlob("./src/customers/*.md")]
.reverse()
.slice(0, site.maxPartnerPerPage);
.slice(0, site.maxCustomerPerPage);
});
config.addCollection('partners', collection => {
return [...collection.getFilteredByGlob("./src/partners/*.md")]

View File

@ -22,6 +22,7 @@
"maxPostsPerPage": 5,
"maxNewsPerPage": 4,
"maxProfilePreview": 3,
"maxCustomerPerPage": 8,
"maxPartnerPerPage": 8,
"faviconPath": "/images/favicon.png"
}

View File

@ -21,7 +21,6 @@
grid-template-rows: 1fr;
grid-column-gap: 1.5rem;
grid-row-gap: 0;
margin-bottom: 2rem;
}
&__list-item {
@ -29,6 +28,7 @@
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 3rem;
img {
max-width: 8rem;