bajo-template 1.0.2 → 1.0.3

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.
@@ -71,8 +71,8 @@ export async function _renderString (content, locals = {}, opts = {}) {
71
71
  const fullTitle = locals.page.title ? `${locals.page.title} - ${appTitle}` : appTitle
72
72
  locals.page.fullTitle = locals.fullTitle ?? fullTitle
73
73
  }
74
- content = await handleInclude.call(this, content, locals, opts)
75
- return await this.compile(content, locals, { lang: opts.lang, ttl: this.config.cache.maxAgeDur })
74
+ content = await this.compile(content, locals, { lang: opts.lang, ttl: this.config.cache.maxAgeDur })
75
+ return await handleInclude.call(this, content, locals, opts)
76
76
  }
77
77
 
78
78
  async function renderString (content, locals = {}, opts = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo-template",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Template Renderer for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {