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)
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)