Did you know? Eleventy v3 shipped with JavaScript front matter built-in (no plugin or extra config needed!)

Use ---js to enable it. Easier than a separate JavaScript data file!

Learn more: https://www.11ty.dev/docs/data-frontmatter/#java-script-front-matter

A screenshot of a code sample, code as follows: ---js const now = new Date(); const title = "Build Log"; const year = now.getFullYear(); const tags = "posts", y${year}; --- h1>{{ title }} ({{ year }})/h1>