Block::CurrentPage
Returns the page object (SiteTree) that we are currently on Allow us to loop on children of the page and other page related data
Signature
public function CurrentPage()
Returns
- SiteTree
public function CurrentPage()