diff --git a/scripts/scripts.js b/scripts/scripts.js index 7d1df33e5..2d70b1283 100644 --- a/scripts/scripts.js +++ b/scripts/scripts.js @@ -1256,12 +1256,9 @@ export function groupAllKeys(array) { // Helper functions const handleRel = (anchor, hrefSplit) => { - if (hrefSplit.includes(',')) { - const rels = hrefSplit.split(','); - rels.forEach(function (eachRel) { - debugger - anchor.rel += `${eachRel.trim()}`; - }); + if (hrefSplit.includes('@')) { + const rels = hrefSplit.split('@'); + anchor.rel = rels.join(' '); } else { anchor.rel = hrefSplit; }