@Moondeer Apologies if this is somewhere in the readme and I didnāt see it, but how do I add a āBookshelfā link to my top navigation? I can get to the page so I know the plugin is working. Cheers!
@Moondeer Apologies if this is somewhere in the readme and I didnāt see it, but how do I add a āBookshelfā link to my top navigation? I can get to the page so I know the plugin is working. Cheers!
@cygnoir Hereās how to add the bookshelf page to the main menu.
menu = "main"
right below the line type = "bookshelf"
.@artkavanagh @sod @cygnoir Thanks for tackling this one.
Itās funny. I was double checking the instructions I just left for someone in the help center and I couldnāt get it to work (though apparently they did so I think my custom theme gets in the way). There are basically two approaches.
Theoretically, you can use the official Micro.blog page interface to create a new page and drop the [SCHEME]://[HOSTNAME]/bookshelf/
URL in as the content (i.e. https://moondeer.blog/bookshelf/). This allows for using the page interfaceās reordering mechanism.
My custom theme bypasses this interface and creates its menu via config/_default/menu.toml
. Before this I controlled the contents of my main menu precisely the way @sod described. At one point I included the menu entry in the front matter so it would just pop up. The latest versions oughta have a contents/bookshelf.md
file that uses the TOML format for its front matter, wherein Iāve included the menu entry but commented it out. If you find that you can just remove the hashtags.
Side note: I am still planning on touching up the Bookshelves plugin. Iāve gotten caught up with all the cool stuff Iāve got going with the cards plugin, for which Iām nearly 10K words deep into a walkthrough (Iād be done but I keep refining my plugin parameters and adding new features >.< ⦠oh, yeah, and it was so long I figured it needed a table of contents so I wrote a table of contents plugin currently in need of a README).