$def with (page)
$if ctx.user: $if "lists" in ctx.features:

$page.get('name', 'name missing') is on your List Name Which Could Be Long list. Remove?