Fix links in layouts.