lmika
lmika

Blogroll ported to Micro.blog and placed in a sidebar on the post list screen using Tiny Theme Microhooks. I’ve yet to port the Blogroll page, and may trim some of the recommendations appearing in the sidebar, but not bad for a first pass.

Screenshot of lmika.org with the blogroll recommendations displayed as a sidebar
|
Embed
Progress spinner
acfusco
acfusco

@lmika That looks great. Which microhook did you use?

|
Embed
Progress spinner
lmika
lmika

@acfusco I wrote more about how I built this here if you’re interested. In short, I used “microhook-after-post-list.html”, with a bit of styling to position it to the right side of the screen.

|
Embed
Progress spinner
In reply to
acfusco
acfusco

@lmika Wow, that’s excellent. Thank you!

|
Embed
Progress spinner
vladcampos@mastodon.social
vladcampos@mastodon.social

@lmika This is great, but I'm either doing something wrong or I found a bug. I noticed that when I'm using the "before-post-list.html" microhook, your plugin messes up with the layout of my site, moving the posts to the sidebar (see image). If I remove the microhook, everything works as intended.

|
Embed
Progress spinner
lmika
lmika

@vladcampos Hmm, I’ll have to check but it might be because the sidebar plugin actually changes the display of the “wrapper” div tag from “block” to a “grid”. What’s the URL of your site? I can take a look and see if a different styling approach would work for you.

|
Embed
Progress spinner
vladcampos@mastodon.social
vladcampos@mastodon.social

@lmika It's vladcampos.com, but I have uninstalled your plugin. Would you like me to, install it again for your investigation?

|
Embed
Progress spinner
lmika
lmika

@vladcampos Thanks for that. You don’t need install the plugin again. I’ll make do with the browser dev tools.

|
Embed
Progress spinner
lmika
lmika

@vladcampos I had a look and it was indeed due to the sidebar setting the display of the wrapper to “grid”. I’ve released v1.0.2 of the plugin which should pull the sidebar out of the wrapper. It now overrides the base theme of Tiny theme so if you’ve modified that, you may need to add the sidebar manually. But please give it another try and let me know if it’s now working for you.

|
Embed
Progress spinner
vladcampos@mastodon.social
vladcampos@mastodon.social

@lmika It's working!

Now I have to figure out what I'm adding to the sidebar before permanently activating it.

Thank you so much.

|
Embed
Progress spinner