Fix sopds template errors (double % in links)