Merge branch 'dev'
This commit is contained in:
commit
54e887e70f
@ -77,7 +77,7 @@ module.exports = function(config) {
|
|||||||
config.addCollection('customers', collection => {
|
config.addCollection('customers', collection => {
|
||||||
return [...collection.getFilteredByGlob("./src/customers/*.md")]
|
return [...collection.getFilteredByGlob("./src/customers/*.md")]
|
||||||
.reverse()
|
.reverse()
|
||||||
.slice(0, site.maxPartnerPerPage);
|
.slice(0, site.maxCustomerPerPage);
|
||||||
});
|
});
|
||||||
config.addCollection('partners', collection => {
|
config.addCollection('partners', collection => {
|
||||||
return [...collection.getFilteredByGlob("./src/partners/*.md")]
|
return [...collection.getFilteredByGlob("./src/partners/*.md")]
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
"maxPostsPerPage": 5,
|
"maxPostsPerPage": 5,
|
||||||
"maxNewsPerPage": 4,
|
"maxNewsPerPage": 4,
|
||||||
"maxProfilePreview": 3,
|
"maxProfilePreview": 3,
|
||||||
|
"maxCustomerPerPage": 8,
|
||||||
"maxPartnerPerPage": 8,
|
"maxPartnerPerPage": 8,
|
||||||
"faviconPath": "/images/favicon.png"
|
"faviconPath": "/images/favicon.png"
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
grid-template-rows: 1fr;
|
grid-template-rows: 1fr;
|
||||||
grid-column-gap: 1.5rem;
|
grid-column-gap: 1.5rem;
|
||||||
grid-row-gap: 0;
|
grid-row-gap: 0;
|
||||||
margin-bottom: 2rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__list-item {
|
&__list-item {
|
||||||
@ -29,6 +28,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 8rem;
|
max-width: 8rem;
|
||||||
|
Loading…
Reference in New Issue
Block a user