Fix includes and links for subpages