Adds permalink front matter to all subpages so that canonical urls resolve correctly for meta info.