mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 07:00:54 +03:00
a few changes to make A/B testing easier
This commit is contained in:
9
app/templates/blank.js
Normal file
9
app/templates/blank.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const html = require('choo/html');
|
||||
|
||||
module.exports = function(state) {
|
||||
const div = html`<div id="page-one"></div>`;
|
||||
if (state.layout) {
|
||||
return state.layout(state, div);
|
||||
}
|
||||
return div;
|
||||
};
|
||||
Reference in New Issue
Block a user