Closed jhenstridge closed 1 year ago
Name | Link |
---|---|
Latest commit | 7b6006227ff00eacd5239d4449c111ce13219bab |
Latest deploy log | https://app.netlify.com/sites/gohugo-ananke-theme-demo/deploys/637b0c150538080008539df0 |
Terribly sorry I did not see his earlier... I rushed into fixing #417 myself without checking contributions... You'll find my solution is very similar to yours though.
Thanks a lot for this is much appreciated, and sorry again!
This is an attempt to allow setting rel="me" on social links in the page header/footer. I hadn't noticed #587 when writing this, so consider it an alternative proposal to fix the problem.
This PR adds a new
rel
attribute to services listed underananke_socials
. If set, it specifies additional relations that will be added to the corresponding social link. This should cover case of claiming ownership of a Mastodon account, while also handling any other relations the user might want to add:While I'm just using a simple string property, it's possible to add multiple new relations by treating it as a space separated list (e.g.
rel: one two three
). When used, it adds to the existingnoopener
relation rather than replacing it.Fixes #417