Fixed issue where subpage didn't parse magic word like {{PAGENAME}}

Change-Id: I98bafd75b1cce25b13f59d4acf2a186690cfeeac