CaiJimmy / hugo-theme-stack

Card-style Hugo theme designed for bloggers
https://stack.jimmycai.com
GNU General Public License v3.0
4.89k stars 1.6k forks source link

Add rel attribute #828

Closed grisu48 closed 1 year ago

grisu48 commented 1 year ago

Adds the rel attribute to social links to allow for verified Mastodon links.

The configuration happens via the rel parameter in menu.social.params, e.g.

    [[menu.social]]
    url= "https://chaos.social/@phoenix"
    name = "Mastodon"
    [menu.social.params]
        icon = "brand-mastodon"
        rel = "me"

Example: https://feldspaten.org/ and my verified account https://chaos.social/@phoenix

grisu48 commented 1 year ago

While rebasing I saw that this is not needed anymore, since rel="me" is there by default now. Will close the PR.