Library: Journal navigation

Hi everyone,

I’ve created an initial release of a library for a journal navigation header, allowing previous/next navigation through a journal. This is currently closely tied to my /Journal/Day layout, but I’ll add config settings for daily/weekly journals, journal path, etc. as soon as I can.

URL: Import journal-navigation.md from the following repository (either tag 0.1, trunk, or edge

I haven’t really optimized this at ALL, but it’s been working for me without any unexpected behavior for a while. The annoying thing I haven’t found a way to fix is the link color: it’s blue on black for me, which isn’t great!

3 Likes

Can you show us a screenshot? Would love to see what this looks like in practice

Here you go! This is on iOS but it looks essentially the same on desktop. Using ayu-light theme with my base16 theme loader.

I have some things going on in my config to intercept daily notes and insert the template if a page doesn’t yet exist. Happy to share that too, though it’s not pretty.

3 Likes

Very nice! I use a small calendar that highlights which days have notes, and it lets me quickly jump to any note - even across different months and years.
For inspiration, here’s what it looks like

5 Likes

That’s delightful. This has mainly been a “learn how Lua” works set of projects for me, so I’m keeping it simple, but that is definitely nicer than what I came up with!

This is nice,can you share the code?
Thanks

2 Likes

This is something that has been on my to do list for a while. Although I would love to place it in the right hand pane, maybe this will give me some energy to do it

2 Likes

Link to Codeberg repo is in the post.

It would be neat if there was a way to link up SB with an actual calendar. Maybe through CalDAV’s notes/vjournal protocol.

Not exactly what you are asking for but there was this: iCalendar query provider at some point. So definitely a possibility.

1 Like