Breadcrumbs, but crunchier! A folder trail under each note's title, where folders link to their own index pages.

Get it

Repo: https://github.com/bodster7/garden-plugin-croutons
In Obsidian: Settings → Digital Garden → Plugins → Install from GitHub, and paste the repo URL. If you use Ole's Breadcrumbs plugin, turn it off first, or you'll get two trails. The README has the details.

You're looking at it

See the trail at the top of this page: Home / Digital Garden Plugins. Click Digital Garden Plugins. That's a folder, and you've just landed on its index page.

The itch

I wanted mini sites. Nothing as formal as a subdomain, just a landing page for a project or a theme, with its notes gathered underneath. Like this section, in fact.

Ole's Breadcrumbs plugin got me most of the way. It shows a note's folders above its title, like Home / Projects / Meshcore. But only Home was ever a link, because in a Digital Garden, folders don't have pages.

Except they can. Give a note the right permalink and it lives at the folder's URL. My Meshcore README sits at /projects/meshcore/, so it is the Meshcore folder's page. The trail just didn't know.

The idea

If a page exists at a folder's URL, link the folder to it. Otherwise show the folder's name as plain text, like before.

That's all it does, and it doesn't care how the page got there. A README, an index.md, a "folder note" sitting beside the folder: if it lives at the folder's URL, it counts.

A happy side effect: hackable URLs. Chop the end off any address and you land on a real page, and the trail shows you which ones exist.

Bumps along the way

Where it's at

Croutons was my first ever plugin, and with Webmention Endpoint, the first open source I've put out into the world. Scary and exciting in equal measure. If you try it, I'd love to hear how it goes.

Powered by Forestry.md