• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4251 shaares
Filters

Micro @eleven_ty tip:

QRCode

We can use the Nunjucks "dump" filter to call "JSON.stringify" on an object and "dump" the result(s) into our template.

For example, we can render information about our current page with the Eleventy supplied "page" variable.

https://twitter.com/Eduardo__Uribe/status/1519088476288811009
May 17, 2022 at 10:10:12 AM EDT *
eleventy
FILLER
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community