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 +1 -1
- package/package.json +1 -1
- package/test/input/skip.vto +7 -0
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 (
|
|
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