diff --git a/server/layout.js b/server/layout.js index 0aceade7..6d2051ab 100644 --- a/server/layout.js +++ b/server/layout.js @@ -3,6 +3,10 @@ const assets = require('../common/assets'); const initScript = require('./initScript'); module.exports = function(state, body = '') { + const custom_css = state.ui.assets.custom_css !== '' + ? html`` + : '' + return html` @@ -40,16 +44,7 @@ module.exports = function(state, body = '') { type="text/css" href="${assets.get('app.css')}" /> - + ${custom_css}