Expose template in the index