pratik
pratik
Thanks to @heyloura’s code and yet another one of @sod’s plugin, I now have a bookmarks page called Faves. Given how they are structured on Micro.blog, I have used bookmarks differently, and there was no point sharing them as most were read-later or refer-later type posts for me. But I also bookmarked som... microblog.pratikmhatre.com
|
Embed
Progress spinner
cygnoir
cygnoir

@pratik I love this and may steal it!

|
Embed
Progress spinner
pratik
pratik

@cygnoir I stood on the shoulders of giants. I’m sure you can stand on a dwarf 😋

|
Embed
Progress spinner
jtr
jtr

@pratik her another microblog idea I might borrow… if you don’t mind. @sod needs to stop coming up with useful plugins, I can’t keep up! (Just kidding, and thanks!!)

|
Embed
Progress spinner
sod
sod

@jtr 🥰

|
Embed
Progress spinner
pratik
pratik

@jtr Of course! Go right ahead.

|
Embed
Progress spinner
In reply to
jtr
jtr

@pratik @sod so how do you make it work for a specific tag, or is this not an option yet? I understand all you need is to add the shortcode, but I don't want all my bookmarks showing, just certain tags.

|
Embed
Progress spinner
pratik
pratik

@jtr See @heyloura's code that I linked in my post. In her example, code is the tag she chooses to display. BTW I couldn't get eq to work.

|
Embed
Progress spinner
jtr
jtr

@pratik so still a bit confused. Yes, I see the tag "code" and I see how it would work - but the plug in does not come with the same code from what I see. So are you using both the code and the plug in? just the code in your post? I'm not sure what `eq is or where it's in the code (I'm not exactly a programmer 😅

|
Embed
Progress spinner
pratik
pratik

@jtr I'm not a programmer either ☺️ So yes, first install the plugin and then cut-paste Laura's code into a new page (Bookmarks, Favorites, etc.). Check the box to have it displayed in the menubar. Replace the code (line 5 from the top) with the tag you want bookmarks listed for (mine is 'fave').

Ignore the eq part for now. @heyloura had mentioned I could replace Contains with eq (also in line 5) if I wanted an exact match.

|
Embed
Progress spinner
heyloura
heyloura

@pratik You just also need to replace the string part as well. So {{ if (strings.Contains .tags "code") }} changes to {{ if (eq .tags "code") }} 😄

|
Embed
Progress spinner
pratik
pratik

@heyloura Ah! See that's why you are a full stack engineer and I am not ☺️ @jtr

|
Embed
Progress spinner