I just started a new 11ty product and unlike most times I specified NO layout anywhere, since this is a SPA. Not in my front matter, not in my 11ty config. To my surprise I got an error:
Error: You’re trying to use a layout that does not exist: _includes/page.njk (via layout: page.njk)
I would have expected that if no layout is specified, none is used, and it just spits out the result of processing my template as-is.
I just started a new 11ty product and unlike most times I specified NO layout anywhere, since this is a SPA. Not in my front matter, not in my 11ty config. To my surprise I got an error:
I would have expected that if no layout is specified, none is used, and it just spits out the result of processing my template as-is.