This PR fixes an issue where a layout file configured for use by all templates (for example, configured using an .11tydata.js file in the root of the source folder) would impose a layout (HTML, most likely) on the generated CSS files. That's not great, so this PR implements the suggestion made by @justinfagnani in #18. Tests have been added to confirm the change behaves as intended.
In other words, this plugin now disables layouts for CSS files.
Description
This PR fixes an issue where a layout file configured for use by all templates (for example, configured using an
.11tydata.js
file in the root of the source folder) would impose a layout (HTML, most likely) on the generated CSS files. That's not great, so this PR implements the suggestion made by @justinfagnani in #18. Tests have been added to confirm the change behaves as intended.In other words, this plugin now disables layouts for CSS files.
Resolves #18.
Commits