Fix template's links