attribute to be added to the website. I a" /> attribute to be added to the website. I a" /> attribute to be added to the website. I a"/>

Adding a rel="me" attribute with jekyll-target-blank

267 Views Asked by At

Mastodon has a link verification service that requires a <a href="https://example.social/username" rel="me"> attribute to be added to the website.

I am using the al-folio theme for Jekyll, which includes the jekyll-target-blank plugin as a part of a GitHub Pages build. The plugin "automatically adds a target="_blank" rel="noopener noreferrer" attribute to all external links in Jekyll's content".

As a result, my link to my Mastodon profile is built with the rel="noopener noreferrer" attribute. What is the best way to replace this single tag’s attribute with the rel="me" attribute? Is there an option in jekyll-target-blank or something I should do during or after the build with GitHub Pages?

0

There are 0 best solutions below