Closed adamjohnson closed 5 years ago
_photo-gallery.html
r:if
Hammer outputs the content inside r:content_for twice in the DOM. This breaks the lightbox.
r:content_for
Hammer should correctly output content inside of r:content_for when inside r:if tags.
Steps to Reproduce
_photo-gallery.html
partial in your code editor and move lines 63-65 to be inside the closingr:if
tag on line 61.Results
Hammer outputs the content inside
r:content_for
twice in the DOM. This breaks the lightbox.Expected Results
Hammer should correctly output content inside of
r:content_for
when insider:if
tags.