Closed
Description
Operating system
Windows 10
Eleventy
@11ty/eleventy@beta
Describe the bug
I'm getting an error in the terminal when I add a .webc file to a '/pages' directory.
Reproduction steps
I have a directory called '/pages/' with .md files inside it. There is a data file in this directory:
{
"layout": "page.njk",
"tags": "pages",
"permalink": "/{{ page.fileSlug }}/"
}
This works fine
BUT
I added a .webc file into that directory with just this markup:
---
layout: base.njk
title: Results
---
I then get the following error in the terminal:
Original error stack trace: TypeError: link.slice is not a function
Has anyone experienced the same thing?
Expected behavior
I would expect the .webc file to render a page relative to the site route, just like the .md files do.
Reproduction URL
No response
Screenshots
No response
Activity