won't display if record.img is not set
so it should either default to some default image or be wrapped inside an if statement to avoid broken image display.
if (record|image != "") {
output img
}
Not sure if this conflicts with an intent to make templates look simple.
<img src="{{ record|image }}" class="absolute left-0 top-0 w-full h-full z-0 object-cover" />
won't display if record.img is not set so it should either default to some default image or be wrapped inside an if statement to avoid broken image display.
if (record|image != "") { output img }
Not sure if this conflicts with an intent to make templates look simple.