-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
This is not a problem with this plugin, but I'm posting this in case someone else runs into this issue.
Compilation failed for me with
Metalsmith · [metalsmith-sass] Error: invalid top-level expression -> /Users/veritas/www/hannahsstudio.com/src/styles/style.scss:1:1
I thought the issue was with the SASS file or with this plugin. I finally looked at the plugin source code and saw that the data option was set to the file contents. It turns out all my files were being processed by the layouts plugin, so the data option had a bunch of HTML templating inside it. I just had to set the patterns option in the layouts plugin to only process markdown files.
This might be a good note to put in the documentation.
Metadata
Metadata
Assignees
Labels
No labels