Micro.blog

amit
amit

I’ve released a minor version of the Paper theme today. It adds support to include Mastodon and LinkedIn to your social profile links in the header. If you are already using it, you should see the upgrade option in the Micro.blog plugins directory. Demo on my test blog.

hollie
hollie

@amit It's lovely! Thank you so much for working on this!

amit
amit

@hollie Thank you Hollie! 😊

amit
amit

@jeffperry @cygnoir I have added an option to include Mastodon in the social links with Paper theme. Upgrade should be available in the plugins directory.

maique
maique

@amit I’m using a custom theme based on Paper, with a couple of tiny tweaks, and I’m not getting the new social links after updating. Will try to get to the bottom of this one…

amit
amit

@maique Do you see the new settings (for mastodon)? Have you applied them? Are your custom modifications in layouts/partials/header.html?

sod
sod

@amit Nice! 🎉

moonmehta
moonmehta

@amit Thank you so much! One bug: The icons aren't visible on mobile (testing on Safari).

maique
maique

@amit Yes, yes, and yes. Saw them, added them (they were all gone, even the favicon one), but my custom theme has that file changed (no real change, just a script or two added). I’ll probably just copy the scripts part to the new one, and that should fix it, I trust?

amit
amit

@maique Yep that's the simplest way I believe.

maique
maique

@amit Cool, thank you 🙂

maique
maique

@amit Went ahead and just deleted my custom one, as the scripts were not used anyway, and also microblog_head, so I should be on your version. Also tried a full rebuild, as deleting the files wasn’t working. Still no go 🙂

maique
maique

@amit Disregard previous posts. I’ll fix it, it’s something on my end 🙂 Thank you, and sorry for the mess.

amit
amit

@maique Nice! Good to know it worked 😊

maique
maique

@amit Finally figured it out, after trying a bunch of possible URL for the Mastodon integration. I visited your GitHub repository, and a couple other partials were also affected 🙂 Added the relevant parts, and it’s working.

amit
amit

@uncertainquark That's my design, to keep the design clean. I would love to introduce some element to put these icons under. But don't want to overdo it :)

cygnoir
cygnoir

@amit @jeffperry Thank you! Do these links have rel=me attributes, by chance? I'm trying to verify my website on my Mastodon profile.

maique
maique

@cygnoir If you add the link somewhere on the head partial, and THEN add it to Mastodon, that should work. I kept waiting for the link to show up as verified, and couldn’t get it to work, until I went back to Mastodon, deleted the link, and added it again. That triggered the check.

amit
amit

@cygnoir They are now, look for the upgrade 🙂

moonmehta
moonmehta

@amit Neat upgrade; the Mastodon profile verification worked perfectly, thank you!

I did notice though that with every update of the Paper theme, it kept resetting the user-checked setting of "Display full post content on Homepage" to unchecked.

In reply to
amit
amit

@uncertainquark Thank you, good to hear that. I wish I could prevent the setting being reset during upgrade. But I believe that's the way Micro.blog works currently. // cc @manton

manton
manton

@amit This is something we need to fix... It's not suppose to work that way, so I consider it more of a bug than anything.

cygnoir
cygnoir

@amit Thank you so much!

crossingthethreshold
crossingthethreshold

@amit Thank you for these additions.

mdalves
mdalves

@amit Hi Amit. I an using the Paper theme and I have a feedback: there are 2 posts in my blog; the first one shows ... at the end to indicate that it´s a long post; the second one shows the text part of the post but not the photos (OK, my option) but it does not show the ... at the end of the text, the reader may not understand that the photos are hidden and a click on the post is necessary to see them.

amit
amit

@mdalves Thank you Marcos. Yeah, currently this is a known behavior, mainly with the underlying platform Hugo. It ignores images while truncating the post content and hence doesn't add ... for posts shorter than 300 characters. You can display the full content of the posts on the homepage though by enabling a setting for the theme. That way it will show the images too.

mdalves
mdalves

@amit I understand it. But, by enabling the display of full content, all the photos of the post will be shown on the home page, right? I think it's only OK when the post has a single photo. I am new to blogging and to micro.blog, I don't know what is the best practice for posting multiple images. In my view, showing many photos on the home page is disturbing. Thanks.