This PR cleans up HTML template code by using :bind only for dynamic class names, alongside just bind for static class names. It turns out this works just fine! I don't know why it didn't seem to work on my first pass.
I also realized that only the Masonry grids themselves (parent divs) need unique class selectors. Grid items can all use the grid-item class regardless of which grid they belong to, and I think it's better (more portable) to keep these more general because it may help with SASS styling later down the road if needed.
This PR cleans up HTML template code by using
:bind
only for dynamic class names, alongside justbind
for static class names. It turns out this works just fine! I don't know why it didn't seem to work on my first pass.I also realized that only the Masonry grids themselves (parent divs) need unique class selectors. Grid items can all use the
grid-item
class regardless of which grid they belong to, and I think it's better (more portable) to keep these more general because it may help with SASS styling later down the road if needed.