Change link to relative and shorten lines.