(Custom Element using using active frontmatter from a layout.html =>)
^^^ custom element using getCollection + attributes
Just use a .js file!
src/ pages/ index.html products.js