Updated resources example to use updated template rendering techniques.