this post was submitted on 09 Oct 2024
1 points (100.0% liked)
Fediverse stuff
0 readers
1 users here now
This is a magazine dedicated to posts about the Fediverse and things related to it. This is a MBin magazine, but you can follow it from Lemmy or Piefed as well. If you want to post specifically about Mbin feel free to post into !mbinmeta@gehirneimer.de
Recommended magazines
Rules
- Please stay on topic, if it's off-topic please write [META] in the title. Please report off-topic posts if you see them.
- Try to avoid drama related posts, for this type of content you can go to !fediverselore@lemmy.ca
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Please don't mind me - trying to see if the #Mastodon author attribution code worked for my Ghost blog (had to edit a HBS file and not sure if I did the right thing):
https://blog.elenarossini.com/a-great-day-for-writers-introducing-mastodon-author-tags/
🙃
@_elena@mastodon.social
YaY!
My "spray and pray" approach to coding worked once again 😆
I LOVE seeing the author tag linking to my Mastodon profile under previews of my blog posts: https://blog.elenarossini.com/a-great-day-for-writers-introducing-mastodon-author-tags/
Thank you @Mastodon@mastodon.social team! This is awesome.
(For the record, this is really easy to do on Wordpress - a little trickier for Ghost, thus the mention of my "spray and pray" approach)
Edit: as @shollyethan@fosstodon.org smartly suggested, Ghost has a “code injection” tab (so it’s easy there too!)
@_elena@mastodon.social I haven't tested if myself yet, but are you not able to add it to Ghost's headers via Code Injection rather than editing HBS files?
@shollyethan@fosstodon.org aw I hadn’t even thought about that! 🤦🏻♀️ thank you for making a great point Ethan, I’ll edit my post to add your comment
@_elena
If anyone is looking for the files after the "add code to a couple of .hbs files with "head" and "header" in their names. " 😂
The file is located in /content/themes/source/default.hbs depends on the path and theme.
@shollyethan
Tested with Code Injection, it seems like the easiest method. No file edits.
That's probably how @molly0xfff used on her Citation Needed blog before Author attribution was available for the public.
@shadow@everythingbagel.social @shollyethan@fosstodon.org @molly0xfff@hachyderm.io Thank you!!! 🙏