Compile inner pages