Improved jade index template