Minima, Mastodon, and rel="me"
Thomas Künneth
Posted on November 6, 2022
In this short article I noted down what I needed to do in order to get the rel="me"
attribute on my Minima themed Jekyll homepage.
Since quite a few years you can add the usernames of your social media accounts to your _config.yml file. This is also true for Mastodon. However, current Minima releases seem to not include the rel="me"
attribute - which would be desiderable because then your website gets the green checkmark.
So, let's investigate. The current Minima 2.x release is 2.5.1 from August 2019.
Now let's check the history of social.html file (this file includes the social media links).
So, the corresponding code is already on GitHub. Here's how to use it.
Download the latest version of social.html. You'll find it here
-
In your Yekyll project, create an _includes folder and put social.html there. Please note that I also have a local version of footer.html because I wanted to apply changes there, too. But you don't need it for the
rel="me"
attribute. -
Make sure to update your _config.yml file
title: "Thomas K\u00fcnneth" email: thomas@thomaskuenneth.eu description: >- # this means to ignore newlines until "baseurl:" Developer. Speaker. Listener. Loves writing. Confessing mobile computing addict baseurl: "" # the subpath of your site, e.g. /blog url: "https://www.thomaskuenneth.eu" author: email: thomas@thomaskuenneth.eu name: "Thomas K\u00fcnneth" minima: social_links: twitter: tkuenneth github: tkuenneth mastodon: - username: tkuenneth instance: snapp.social
That's it.
Posted on November 6, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
February 25, 2024