eleventy-plugin-vento 2.0.0-beta.3 → 2.0.0-beta.4

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/VentoPlugin.js CHANGED
@@ -109,7 +109,7 @@ export function VentoPlugin(eleventyConfig, options = {}) {
109
109
 
110
110
  compileOptions: {
111
111
  permalink(linkContents, inputPath) {
112
- if (!linkContents) return linkContents;
112
+ if (typeof linkContents !== 'string') return linkContents;
113
113
  return async (data) => {
114
114
  const result = await env.runString(linkContents, data, inputPath);
115
115
  return result.content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleventy-plugin-vento",
3
- "version": "2.0.0-beta.3",
3
+ "version": "2.0.0-beta.4",
4
4
  "description": "Adds support for the Vento templating language to Eleventy.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@9.1.4",
@@ -0,0 +1,7 @@
1
+ ---
2
+ title: Skipped
3
+ layout: page-layout.vto
4
+ permalink: false
5
+ ---
6
+
7
+ Leave me out of this.