diff --git a/config/custom-environment-variables.js b/config/custom-environment-variables.js
index c2bc9054..0a19008e 100644
--- a/config/custom-environment-variables.js
+++ b/config/custom-environment-variables.js
@@ -12,6 +12,7 @@ module.exports = {
__format: 'json'
},
contact: 'CONTACT',
+ homePage: 'HOME_PAGE',
secret: {
public: 'PUBLIC_KEY',
private: 'PRIVATE_KEY'
diff --git a/config/default.js b/config/default.js
index 62a25568..ac10d5c7 100644
--- a/config/default.js
+++ b/config/default.js
@@ -13,6 +13,7 @@ module.exports = {
},
admins: ['admin@test.com'],
contact: 'contact@test.com',
+ homePage: null,
storage: {
// One of 'file' and 'mongo'
type: 'mongo',
diff --git a/config/development.js b/config/development.js
index 59600ea6..92a1ffb9 100644
--- a/config/development.js
+++ b/config/development.js
@@ -2,6 +2,7 @@ module.exports = {
port: 5689,
publicUrl: 'http://localhost:5689',
admins: ['alban.mouton@koumoul.com'],
+ homePage: 'https://koumoul.com',
maildev: {
active: true
},
diff --git a/nuxt.config.js b/nuxt.config.js
index 9b9223cb..148884c9 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -41,7 +41,8 @@ module.exports = {
},
env: {
publicUrl: config.publicUrl,
- theme: config.theme
+ theme: config.theme,
+ homePage: config.homePage
},
head: {
title: i18n.messages[config.defaultLocale].root.title,
diff --git a/public/layouts/default.vue b/public/layouts/default.vue
index 92c24b90..59c709fa 100644
--- a/public/layouts/default.vue
+++ b/public/layouts/default.vue
@@ -74,7 +74,11 @@