Rewrite include layout