‘<tasks>’ is replaced by a report of tasks over all day pages in published pages (see Publishing).
All incomplete tasks <tasks status="^X"> All completed tasks <tasks status="X"> All tasks <tasks>
Warning: this function can be slow, as it checks all the day pages!