We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a7d053 commit d7c2310Copy full SHA for d7c2310
build/metalsmith/plugins/inject-examples.js
@@ -70,7 +70,7 @@ module.exports = function plugin(/*options*/) {
70
const data = metalsmith.metadata();
71
const examples = {};
72
data.Examples.forEach(function(file) {
73
- const key = path.join(file.path.href, file.path.base);
+ const key = file.path.href
74
examples[key] = cheerio.load(file.contents);
75
});
76
0 commit comments