Add data-link-name attributes to pagination fragment