This commit is contained in:
1 parent
862f12b4d0
commit
e0c315d837
30 files changed
+2575
-3561
No files matched your search
@@ -1,4 +1,4 @@
|
||||
module.exports = function(eleventyConfig) {
|
||||
export default 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