Eleventy The possum is Eleventy’s mascot

Eleventy Documentation

Menu

log Universal Filter #

New in v0.11.0 An easy way to console.log anything from inside of a template file.

{{ "My Title" | log }}

is the same as:

console.log("My Title");

You can log anything:

{{ collections.posts | log }}

Other pages in Filters: