Rob's garden / notes / 11ty log filter

11ty log filter

An 11ty "log" filter is so helpful!

eleventyConfig.addFilter('log', console.log)

then in a template

{{ someValue | log }}

Update: Turns out this is already built into 11ty (doh)