Insert links before nodes