To have it run in the finished page dynamically and not baked in the first time the page is created, you need to prepend ${"$"} in front of any Lua callouts.
${"$"}{
template.each(query[[
from index.tag("page")
where _.created.split('T')[1] == "${date.today()}"
order by _.name
]], templates.pageItem)
}