This commit is contained in:
1 parent
2706297406
commit
670acc7667
8 files changed
+169
-11
No files matched your search
@@ -0,0 +1,5 @@
|
||||
module.exports = function(eleventyConfig) {
|
||||
eleventyConfig.addFilter('metricsToPosts', function(metrics, posts) {
|
||||
return metrics.map(metric => posts.find(post => post.url === metric.post));
|
||||
})
|
||||
};
|
||||
Reference in new issue
Block a user