- Admin Panel / Layout / Custom HTML after <body> start, and Custom HTML before </body> end.

In progress, does not work yet.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2018-12-16 22:21:16 +02:00
parent a42d9871bd
commit f1ed6304a4
7 changed files with 48 additions and 2 deletions

View file

@ -374,3 +374,27 @@ Migrations.add('add-hide-logo', () => {
},
}, noValidateMulti);
});
Migrations.add('add-custom-html-after-body-start', () => {
Settings.update({
customHTMLafterBodyStart: {
$exists: false,
},
}, {
$set: {
customHTMLafterBodyStart:'',
},
}, noValidateMulti);
});
Migrations.add('add-custom-html-before-body-end', () => {
Settings.update({
customHTMLbeforeBodyEnd: {
$exists: false,
},
}, {
$set: {
customHTMLbeforeBodyEnd:'',
},
}, noValidateMulti);
});