fix customer / partner display limited to 4 elements
This commit is contained in:
parent
d8a3a7bc8f
commit
1579335f12
@ -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")]
|
||||
|
@ -22,6 +22,7 @@
|
||||
"maxPostsPerPage": 5,
|
||||
"maxNewsPerPage": 4,
|
||||
"maxProfilePreview": 3,
|
||||
"maxPartnerPerPage": 4,
|
||||
"maxCustomerPerPage": 8,
|
||||
"maxPartnerPerPage": 8,
|
||||
"faviconPath": "/images/favicon.png"
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user