send/app/templates/blank.js
2017-08-25 09:44:52 -07:00

9 lines
198 B
JavaScript

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