codehooks-js 1.2.10 → 1.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/webserver.mjs +1 -1
package/package.json
CHANGED
package/webserver.mjs
CHANGED
|
@@ -157,7 +157,7 @@ async function handlebars(viewFile, data, settings, cb) {
|
|
|
157
157
|
if (layout) {
|
|
158
158
|
const layoutPath = `${layout}`;
|
|
159
159
|
//console.log('Layout path', layoutPath)
|
|
160
|
-
const layoutFile = await _coho_fs.readFile(layoutPath);
|
|
160
|
+
const layoutFile = await _coho_fs.readFile(layoutPath, {source: true});
|
|
161
161
|
//console.log('Layout file', layoutFile)
|
|
162
162
|
engine.registerPartial('layout', layoutFile);
|
|
163
163
|
}
|