Eleventy The possum is Eleventy’s mascot

Eleventy Documentation

This is an older version of Eleventy. Go to the newest Eleventy docs (current path: /docs/filters/log/) or the full release history.

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: