diff global template and local page