getLocal now working with main dynamic page template