pixsy/node_modules/pug/test/output/blocks-in-if.js

10 lines
361 B
JavaScript

function template(locals) {
var pug_html = "", pug_mixins = {}, pug_interp;
var ajax = true;
if (ajax) {
pug_html = pug_html + "<p>ajax contents</p>";
} else {
pug_html = pug_html + '<!DOCTYPE html><html><head><meta charset="utf8"><title>sample</title><body><p>all contetns</p></body></head></html>';
}
return pug_html;
}