-
Notifications
You must be signed in to change notification settings - Fork 48
Description
in the current Options Docs https://github.com/metalsmith/layouts/tree/v3.0.0?tab=readme-ov-file#options its written, that pattern
option has a default of **/*
.
In the JS DocBlock it is written as pattern='**'
which is different again.
But actually it is falling to **/*.{${inputFormats.join(',')}}
which is with a transform of 'nunchucks'
then '**/*.{njk,nunjucks}'
.
See here https://github.com/metalsmith/layouts/blob/v3.0.0/src/index.js#L74
The pattern '**/*.{njk,nunjucks}'
is not matching any .html
files.
Where i guess the html files are what is desired to match here.
At least its working with pattern: "**/*.html",
on my side and i am just a bit confused.
But of course props for all the good work over that long time!!