diff --git a/.eleventy.js b/.eleventy.js
index 3380c11..99f7361 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -76,12 +76,12 @@ module.exports = function(config) {
config.addCollection('customers', collection => {
return [...collection.getFilteredByGlob("./src/customers/*.md")]
.reverse()
- .slice(0, site.maxSponsorPerPage);
+ .slice(0, site.maxPartnerPerPage);
});
- config.addCollection('sponsors', collection => {
- return [...collection.getFilteredByGlob("./src/sponsors/*.md")]
+ config.addCollection('partners', collection => {
+ return [...collection.getFilteredByGlob("./src/partners/*.md")]
.reverse()
- .slice(0, site.maxSponsorPerPage);
+ .slice(0, site.maxPartnerPerPage);
});
// Plugins
diff --git a/README.md b/README.md
index 56a246f..123db2c 100644
--- a/README.md
+++ b/README.md
@@ -104,7 +104,7 @@ Fill in the meta information :
Then add the member bio or any content
-### Customers & Sponsors
+### Customers & Partners
The two are listed on the home page in different section. There is maximum of four per section, in reversed order regarding the date of addition.
@@ -118,12 +118,12 @@ Fill in the meta information :
2. `thumbnail:` the customer brand logo, make sure to place it in the `images/customers/`folder
3. `url:` the customer website
-#### Add a new sponsor
+#### Add a new partner
-In the `sponsors`folder, create a new mardown file `sponsor-name.md`(or copy paste one of the existing files)
+In the `partners`folder, create a new mardown file `partner-name.md`(or copy paste one of the existing files)
Fill in the meta information :
-1. `name:` the brand name of the sponsor
-2. `thumbnail:` the sponsor brand logo, make sure to place it in the `images/sponsor/`folder
-3. `url:` the sponsor website
+1. `name:` the brand name of the partner
+2. `thumbnail:` the partner brand logo, make sure to place it in the `images/partner/`folder
+3. `url:` the partner website
diff --git a/src/_data/site.json b/src/_data/site.json
index eb3257a..6f7cb8f 100644
--- a/src/_data/site.json
+++ b/src/_data/site.json
@@ -20,6 +20,6 @@
"maxPostsPerPage": 5,
"maxNewsPerPage": 4,
"maxProfilePreview": 3,
- "maxSponsorPerPage": 4,
+ "maxPartnerPerPage": 4,
"faviconPath": "/images/favicon.png"
}
diff --git a/src/_includes/layouts/home.njk b/src/_includes/layouts/home.njk
index 1e33d91..750e5fa 100644
--- a/src/_includes/layouts/home.njk
+++ b/src/_includes/layouts/home.njk
@@ -4,7 +4,7 @@
{% set newsListHeading = newsHeading %}
{% set newsListItems = collections.newsFeed %}
{% set customersListItems = collections.customers %}
-{% set sponsorsListItems = collections.sponsors %}
+{% set partnersListItems = collections.partners %}
{% block content %}
@@ -13,6 +13,6 @@
{% include "partials/components/presentation.njk" %}
{% include "partials/components/customers.njk" %}
{% include "partials/components/contact-form.njk" %}
- {% include "partials/components/sponsors.njk" %}
+ {% include "partials/components/partners.njk" %}
{% endblock %}
diff --git a/src/_includes/partials/components/customers.njk b/src/_includes/partials/components/customers.njk
index 968f684..68413c5 100644
--- a/src/_includes/partials/components/customers.njk
+++ b/src/_includes/partials/components/customers.njk
@@ -1,10 +1,10 @@
-