Include assets with .html file extensions are wrongly interpreted as markdown files. #72
Labels
bug
Something isn't working
generator related
Issue is generator related
metadata related
Issue is metadata related
Milestone
In getAllIncludesMetadata
metadata.matter.content
is being resolved incorrectly. The file name's extension is queried from the function'spath
argument and then compared to"html"
, which is wrong; it should be compared to".html"
.parse(path).ext will return a file extension including the dot so the above comparison fails. Adding a dot corrects the error:
The text was updated successfully, but these errors were encountered: