Be more like core - Only display template metabox for pages