ter := .imageAfter }}
                                {{ $pathBefore := printf "%s/%s" $path $imageBefore }}
                                {{ $pathAfter := printf "%s/%s" $path $imageAfter }}
                                {{ with and $imageBefore $imageAfter }}
                                    <div id="{{ anchorize $title }}-compare" class="image-compare rounded-md border">
                                        {{ with $imageBefore := resources.Get $pathBefore }}
                                   