send/app/templates/blank.js

10 lines
198 B
JavaScript
Raw Normal View History

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;
};