Fix template links