diff --git a/app.js b/app.js
index 6252b44b..fa5c76d7 100644
--- a/app.js
+++ b/app.js
@@ -183,6 +183,9 @@ app.use((req, res, next) => {
res.locals.menu = menu;
tools.updateMenu(res);
+ res.locals.customStyles = config.customstyles || [];
+ res.locals.customScripts = config.customscripts || [];
+
settingsModel.list(['ua_code', 'shoutout'], (err, configItems) => {
if (err) {
return next(err);
diff --git a/config/default.toml b/config/default.toml
index 55b7f786..63b08a91 100644
--- a/config/default.toml
+++ b/config/default.toml
@@ -32,6 +32,12 @@ editors=[
# Default language to use
language="en"
+# Inject custom styles in layout.hbs
+# customstyles=["/custom/hello-world.css"]
+
+# Inject custom scripts in layout.hbs
+# customscripts=["/custom/hello-world.js"]
+
# If you start out as a root user (eg. if you want to use ports lower than 1000)
# then you can downgrade the user once all services are up and running
#user="nobody"
diff --git a/views/layout.hbs b/views/layout.hbs
index 9e9e3a95..e5077360 100644
--- a/views/layout.hbs
+++ b/views/layout.hbs
@@ -25,6 +25,14 @@
{{/if}}
+ {{#each customStyles}}
+
+ {{/each}}
+
+ {{#each customScripts}}
+
+ {{/each}}
+