implement inner page templates