Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Sm1pleScr1pt committed Oct 11, 2024
2 parents 8fd625d + b946df6 commit c5f426d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,16 +541,6 @@ export function decorateAnchorTag(main) {
});
});
}

// Rel Tags
if(anchor.textContent.trim().includes("~")){
let mainAnchor = anchor.textContent.trim().split('~');
anchor.innerText = mainAnchor[0];
anchor.setAttribute('title', mainAnchor[0]);
let relTags = mainAnchor[1].replace(',', " ");
anchor.setAttribute('rel', relTags);
}

});
} catch (error) {
console.warn(error);
Expand Down

0 comments on commit c5f426d

Please sign in to comment.